zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
U
H=®d—ã@sJddlmZmZmZddlmZddlmZdd„ZGdd„dej    ƒZ    d    S)
é)Úabsolute_importÚdivisionÚunicode_literalsé)Úbase)Ú OrderedDictcCs|ddpd|ddfS)zùReturn an appropriate key for an attribute for sorting
 
    Attributes have a namespace that can be either ``None`` or a string. We
    can't compare the two because they're different types, so we convert
    ``None`` to an empty string first.
 
    rÚr©)Úattrr    r    újD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_vendor/html5lib/filters/alphabeticalattributes.pyÚ    _attr_keysr c@seZdZdZdd„ZdS)ÚFilterz$Alphabetizes attributes for elementsccs\tj |¡D]J}|ddkrPtƒ}t|d ¡tdD]\}}|||<q6||d<|Vq dS)NÚtype)ÚStartTagÚEmptyTagÚdata)Úkey)rr Ú__iter__rÚsortedÚitemsr )ÚselfÚtokenÚattrsÚnameÚvaluer    r    r rs  ÿ
zFilter.__iter__N)Ú__name__Ú
__module__Ú __qualname__Ú__doc__rr    r    r    r r sr N)
Ú
__future__rrrrrÚ collectionsrr r r    r    r    r Ú<module>s