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

  /external/python/apitools/apitools/base/protorpclite/
descriptor.py 296 value = enum_definition.lookup_by_number(number)
messages.py 387 def lookup_by_number(cls, number): member in class:_EnumClass
429 return cls.lookup_by_number(index)
    [all...]
messages_test.py 122 self.assertRaises(KeyError, Color.lookup_by_number, 'RED')
123 self.assertEquals(Color.RED, Color.lookup_by_number(20))
124 self.assertRaises(KeyError, Color.lookup_by_number, Color.RED)
    [all...]

Completed in 130 milliseconds