Searched refs:Planet (Results 1 – 3 of 3) sorted by relevance
387 methods. See `Planet`_ for an example.924 Planet section in Interesting examples930 >>> class Planet(Enum):948 >>> Planet.EARTH.value950 >>> Planet.EARTH.surface_gravity1096 If you give your :class:`Enum` subclass extra methods, like the `Planet`_1100 >>> dir(Planet)1102 >>> dir(Planet.EARTH)
40 <a href="http://planet.clang.org/">Planet Clang</a>
1576 class Planet(Enum): class1593 self.assertEqual(round(Planet.EARTH.surface_gravity, 2), 9.80)1594 self.assertEqual(Planet.EARTH.value, (5.976e+24, 6.37814e6))