Searched refs:nameOrIndex (Results 1 – 1 of 1) sorted by relevance
76 def __getitem__(self, nameOrIndex): argument80 if hasattr(nameOrIndex, "__index__"):81 index = nameOrIndex.__index__()82 elif isinstance(nameOrIndex, basestring):83 name = nameOrIndex87 raise KeyError(nameOrIndex)89 raise TypeError(nameOrIndex)