Files
cms-website/.deps_siteforge_v812/bleach/__pycache__/utils.cpython-312.pyc
T

12 lines
1.1 KiB
Plaintext
Raw Normal View History

Ë
îÅÙjeãó—ddlmZd„Zd„Zy)é)Ú OrderedDictcó.—|ddxsd|ddf}|S)zûReturns appropriate key for sorting attribute names
Attribute names are a tuple of ``(namespace, name)`` where namespace can be
``None`` or a string. These can't be compared in Python 3, so we conver the
``None`` to an empty string.
rÚé©)ÚattrÚkeys úPC:\Users\30997\AppData\Local\Temp\pip-target-6g32zz5s\lib\python\bleach/utils.pyÚ _attr_keyr s(€ð �‰7�1‰:Ò ˜˜d 1™g a™jÐ
(€CØ €Jócó�—|s|Stt|j«t¬«D��cgc] \}}||f‘Œ c}}«Scc}}w)zBTakes a dict of attributes (or None) and returns them alphabetized)r )rÚsortedÚitemsr )ÚattrsÚkÚvs r
Úalphabetize_attributesrs>€á ؈ ä ¬6°%·+±+³-ÄYÕ+OÔPÑ+O¡4 1 a˜˜AšÐ+OÒPÓ QÐQùÓPs¬A
N)Ú collectionsrr rrr r
Ú<module>rsðÝ#ò óRr