Home
last modified time | relevance | path

Searched refs:FoldedCase (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/importlib/metadata/
H A D_adapters.py5 from ._text import FoldedCase namespace
11 FoldedCase,
68 return dict(map(transform, map(FoldedCase, self)))
H A D_text.py7 class FoldedCase(str): class
12 >>> s = FoldedCase('hello world')
29 >>> sorted(map(FoldedCase, ['GAMMA', 'alpha', 'Beta']))
42 >>> FoldedCase("Hello World") in {s}
44 >>> s in {FoldedCase("Hello World")}
47 String inclusion works as long as the FoldedCase object
50 >>> "hello" in FoldedCase("Hello World")
53 But not if the FoldedCase object is on the left:
55 >>> FoldedCase('hello') in 'Hello World'
60 >>> FoldedCase('hell
[all...]

Completed in 2 milliseconds