Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/cffLib/
D__init__.py76 def __getitem__(self, nameOrIndex): argument
80 if hasattr(nameOrIndex, "__index__"):
81 index = nameOrIndex.__index__()
82 elif isinstance(nameOrIndex, basestring):
83 name = nameOrIndex
87 raise KeyError(nameOrIndex)
89 raise TypeError(nameOrIndex)