| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/zipfile/_path/__pycache__/ |
Upload File : |
R
>lqjb0 c � � Q s ] PHs] PHs] PHs] PHs] PHs] PHs] PHs] PH s] PH$s ]QH(Gs ]QH0G
s
Q,sQ sQ s\O$ s Q s Q Q2 s Q Q
\\ O, 2 s Q Q\2 sQQ
ks Q Q2 sP! )z�
A Path-like interface for zipfiles.
This codebase is shared between zipfile.Path in the stdlib
and zipp in PyPI. See
https://github.com/python/importlib_metadata/wiki/Development-Methodology
for more detail.
)�save_method_args)�
Translator�Pathc �F � [ O [ U 2 ]P2 ! )z�
Given a path with elements separated by
posixpath.sep, generate all parents of that path.
>>> list(_parents('b/d'))
['b']
>>> list(_parents('/b/d/'))
['/b']
>>> list(_parents('b/d/f/'))
['b/d', 'b']
>>> list(_parents('b'))
[]
>>> list(_parents(''))
[]
)� itertools�islice� _ancestry)�paths &�+C:\Python315\\Lib\zipfile\_path\__init__.py�_parentsr
s � � ���I�d�O�Q��5�5� c # �� � U O [ O 2 o U O [ O 2 % c U w � [ O U 2 v qJD P! 3h)a�
Given a path with elements separated by
posixpath.sep, generate all elements of that path.
>>> list(_ancestry('b/d'))
['b/d', 'b']
>>> list(_ancestry('/b/d/'))
['/b/d', '/b']
>>> list(_ancestry('b/d/f/'))
['b/d/f', 'b/d', 'b']
>>> list(_ancestry('b'))
['b']
>>> list(_ancestry(''))
[]
Multiple separators are treated like a single.
>>> list(_ancestry('//b//d///f//'))
['//b//d///f', '//b//d', '//b']
)�rstrip� posixpath�sep�split)r �tails & r r r - sH � � �* �;�;�y�}�}�%�D�
�+�+�i�m�m�
$�
$��
��_�_�T�*�
��d� %�s �AA)�!A)c �X � [ O [ U2 O U 2 ! )zN
Return items in minuend not in subtrahend, retaining order
with O(1) lookup.
)r �filterfalse�set�__contains__)�minuend�
subtrahends &&r �_differencer L s! � �
� � ��Z��!=�!=�w�G�Gr c �T ` `� \ sQ s]Ts nQs\U 1Q k2 sQ sU 1Q ksQs Us
U 9s! )�InitializedStatez7
Mix-in to save the initialization state for pickling.
c �, :� [ RU _ U- U@ P! �N��super�__init__)�self�args�kwargs� __class__s &*,�r r �InitializedState.__init__Y s �� �
���$�)�&�)r c �\ � U O O U O O 1! r )�_saved___init__r! r"