Rec @` sb d d l m Z m Z m Z d d l m Z d d l m Z d Z d e j f d YZ d S( i ( t absolute_importt divisiont unicode_literalsi ( t base( t OrderedDictc C` s | d d p d | d d f S( u 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.
i u i ( ( t attr( ( s /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.pyt _attr_key s t Filterc B` s e Z d Z d Z RS( u$ Alphabetizes attributes for elementsc c` s x| t j j | D]h } | d d k rv t } x4 t | d j d t D] \ } } | | |