HomeSort by relevance Sort by last modified time
    Searched refs:lookup_by_name (Results 1 - 2 of 2) sorted by null

  /external/python/apitools/apitools/base/protorpclite/
messages.py 376 def lookup_by_name(cls, name): member in class:_EnumClass
436 return cls.lookup_by_name(index)
    [all...]
messages_test.py 116 self.assertEquals(Color.RED, Color.lookup_by_name('RED'))
117 self.assertRaises(KeyError, Color.lookup_by_name, 20)
118 self.assertRaises(KeyError, Color.lookup_by_name, Color.RED)
    [all...]

Completed in 98 milliseconds