%PDF- %PDF-
Direktori : /lib/python3/dist-packages/fasteners/__pycache__/ |
Current File : //lib/python3/dist-packages/fasteners/__pycache__/_utils.cpython-312.pyc |
� �e= � � � d dl Z d dlZd dlZdZ e j e� Zd� Zd� Z G d� de � Z G d� de� Z G d � d e � Z G d� de � Zy) � N� c � � t | t � r| S t | t � rt j | � S t t | � � S )zcCanonicalizes a potential path. Returns a binary string encoded into filesystem encoding. )� isinstance�bytes�str�os�fsencode�canonicalize_path)�paths �2/usr/lib/python3/dist-packages/fasteners/_utils.pyr r s; � � �$������$����{�{�4� � � ��T��+�+� c � � | D ] }|��|c S y)zEReturns first of values that is *not* None (or None if all are/were).N� )�values�vals r �pick_first_not_noner * s � �� ���?��J�� r c �* � e Zd ZdZdd�Zd� Zd� Zd� Zy)� LockStackz�Simple lock stack to get and release many locks. An instance of this should **not** be used by many threads at the same time, as the stack that is maintained will be corrupted and invalid if that is attempted. Nc �<