mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
- add imports for types of arguments and return values - sort new imports by name GitOrigin-RevId: 861c4733b47a4b056582b359c62c9f1360814178
11 lines
169 B
Python
11 lines
169 B
Python
from enum import Enum
|
|
|
|
class Color(Enum):
|
|
RED = 1
|
|
GREEN = 2
|
|
BLUE = 3
|
|
|
|
def f(color):
|
|
if color == Color.RED:
|
|
<selection>1
|
|
color</selection> |