Home
last modified time | relevance | path

Searched refs:nameOrIndex (Results 1 – 1 of 1) sorted by relevance

/external/fonttools/Lib/fontTools/cffLib/
D__init__.py116 def __getitem__(self, nameOrIndex): argument
120 if hasattr(nameOrIndex, "__index__"):
121 index = nameOrIndex.__index__()
122 elif isinstance(nameOrIndex, str):
123 name = nameOrIndex
127 raise KeyError(nameOrIndex)
129 raise TypeError(nameOrIndex)