Ë 2¦P˜| ê×ãó.—ddlZddlmZGd„de«Zy)éNé)Ú method_cachecóh‡—eZdZdZd„Zd„Zd„Zd„Zd„Zˆfd„Z d„Z e ˆfd „«Z d „Z d d „ZˆxZS) Ú FoldedCasea{ A case insensitive string class; behaves just like str except compares equal when the only variation is case. >>> s = FoldedCase('hello world') >>> s == 'Hello World' True >>> 'Hello World' == s True >>> s != 'Hello World' False >>> s.index('O') 4 >>> s.split('O') ['hell', ' w', 'rld'] >>> sorted(map(FoldedCase, ['GAMMA', 'alpha', 'Beta'])) ['alpha', 'Beta', 'GAMMA'] Sequence membership is straightforward. >>> "Hello World" in [s] True >>> s in ["Hello World"] True You may test for set inclusion, but candidate and elements must both be folded. >>> FoldedCase("Hello World") in {s} True >>> s in {FoldedCase("Hello World")} True String inclusion works as long as the FoldedCase object is on the right. >>> "hello" in FoldedCase("Hello World") True But not if the FoldedCase object is on the left: >>> FoldedCase('hello') in 'Hello World' False In that case, use in_: >>> FoldedCase('hello').in_('Hello World') True >>> FoldedCase('hello') > FoldedCase('Hello') False cóD—|j«|j«kS©N©Úlower©ÚselfÚothers ú//usr/lib/python3.12/importlib/metadata/_text.pyÚ__lt__zFoldedCase.__lt__Có€Ø�z‰z‹|˜eŸk™k›mÑ+Ð+ócóD—|j«|j«kDSrr r s rÚ__gt__zFoldedCase.__gt__FrrcóD—|j«|j«k(Srr r s rÚ__eq__zFoldedCase.__eq__Ió€Ø�z‰z‹|˜uŸ{™{›}Ñ,Ð,rcóD—|j«|j«k7Srr r s rÚ__ne__zFoldedCase.__ne__Lrrcó4—t|j««Sr)Úhashr )r s rÚ__hash__zFoldedCase.__hash__Os€Ü�D—J‘J“LÓ!Ð!rcóZ•—t‰|�«j|j««Sr)Úsuperr Ú __contains__)r r Ú __class__s €rrzFoldedCase.__contains__Rs ø€Ü‰w‰}‹×+Ñ+¨E¯K©K«MÓ:Ð:rcó—|t|«vS)zDoes self appear in other?)rr s rÚin_zFoldedCase.in_Us€à”z %Ó(Ð(Ð(rcó •—t‰|�«Sr)rr )r rs €rr zFoldedCase.lowerZsø€ä‰w‰}‹Ðrcó\—|j«j|j««Sr)r Úindex)r Úsubs rr$zFoldedCase.index^s€Ø�z‰z‹|×!Ñ! #§)¡)£+Ó.Ð.rcó”—tjtj|«tj«}|j ||«Sr)ÚreÚcompileÚescapeÚIÚsplit)r ÚsplitterÚmaxsplitÚpatterns rr+zFoldedCase.splitas0€Ü—*‘*œRŸY™Y xÓ0´"·$±$Ó7ˆØ�}‰}˜T 8Ó,Ð,r)Ú r)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrrrrr!rr r$r+Ú __classcell__)rs@rrrsJø„ñ9òv,ò,ò-ò-ò"ô;ò)ð óóðò/÷-rr)r'Ú _functoolsrÚstrr©rrÚr8sðÛ å$ô\-�õ\-r