Lines Matching refs:GREEN
74 ... GREEN = 2
88 - The attributes :attr:`Color.RED`, :attr:`Color.GREEN`, etc., are
114 >>> isinstance(Color.GREEN, Color)
143 >>> apples[Color.GREEN] = 'granny smith'
144 >>> apples == {Color.RED: 'red delicious', Color.GREEN: 'granny smith'}
164 >>> Color['GREEN']
165 <Color.GREEN: 2>
249 ... GREEN = auto()
252 [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
518 'RED GREEN BLUE' | 'RED,GREEN,BLUE' | 'RED, GREEN, BLUE'
522 ['RED', 'GREEN', 'BLUE']
579 ... GREEN = 2
669 ... GREEN = auto()
671 >>> Color.RED & Color.GREEN
673 >>> bool(Color.RED & Color.GREEN)
682 ... GREEN = auto()
683 ... WHITE = RED | BLUE | GREEN
695 ... GREEN = auto()
789 ... GREEN = auto()
791 >>> Color.GREEN
792 <Color.GREEN>
802 ... GREEN = object()
805 >>> Color.GREEN
806 <Color.GREEN>
816 ... GREEN = 'go'
819 >>> Color.GREEN
820 <Color.GREEN>
821 >>> Color.GREEN.value
839 ... GREEN = ()
842 >>> Color.GREEN
843 <Color.GREEN>
844 >>> Color.GREEN.value
909 ... GREEN = 2
915 ValueError: aliases not allowed in DuplicateFreeEnum: 'GRENE' --> 'GREEN'
1041 ... _order_ = 'RED GREEN BLUE'
1044 ... GREEN = 2
1114 ... GREEN = auto()
1117 ... YELLOW = RED | GREEN
1118 ... CYAN = GREEN | BLUE
1123 <Color.CYAN|MAGENTA|BLUE|YELLOW|GREEN|RED: 7>