mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove Python2.7 workaround for enum module
This commit is contained in:
parent
ff8df59ac1
commit
4264b6ca0c
@ -9,10 +9,7 @@
|
|||||||
:license: BSD, see LICENSE for details.
|
:license: BSD, see LICENSE for details.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
from enum import IntEnum
|
||||||
from enum import IntEnum
|
|
||||||
except ImportError: # py27
|
|
||||||
IntEnum = object # type: ignore
|
|
||||||
|
|
||||||
|
|
||||||
class BuildPhase(IntEnum):
|
class BuildPhase(IntEnum):
|
||||||
|
Loading…
Reference in New Issue
Block a user