Home
last modified time | relevance | path

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

/external/python/cpython3/Doc/library/
Denum.rst387 methods. See `Planet`_ for an example.
924 Planet section in Interesting examples
930 >>> class Planet(Enum):
948 >>> Planet.EARTH.value
950 >>> Planet.EARTH.surface_gravity
1096 If you give your :class:`Enum` subclass extra methods, like the `Planet`_
1100 >>> dir(Planet)
1102 >>> dir(Planet.EARTH)
/external/clang/www/
Dmenu.html.incl40 <a href="http://planet.clang.org/">Planet Clang</a>
/external/python/cpython3/Lib/test/
Dtest_enum.py1576 class Planet(Enum): class
1593 self.assertEqual(round(Planet.EARTH.surface_gravity, 2), 9.80)
1594 self.assertEqual(Planet.EARTH.value, (5.976e+24, 6.37814e6))