mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-02 10:17:51 +00:00
This allows enums to be type check with mypy. They will still behave like ints -> > IntEnum is the same as Enum, > but its members are also integers and can be used anywhere > that an integer can be used. > If any integer operation is performed with an IntEnum member, > the resulting value loses its enumeration status. https://docs.python.org/3/library/enum.html#enum.IntEnum Only if the --python-typing flag is set. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| Any.py | ||
| Any.pyi | ||
| Color.py | ||
| Color.pyi | ||
| NestedUnionTest.py | ||
| NestedUnionTest.pyi | ||
| Test.py | ||
| Test.pyi | ||
| TestSimpleTableWithEnum.py | ||
| TestSimpleTableWithEnum.pyi | ||
| Vec3.py | ||
| Vec3.pyi | ||