summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-12-30 20:14:18 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-01 20:48:37 +0000
commitf4c8a0a68e0013808d169357c9f77ebdf19d0f4e (patch)
treef952fa0106f7b93db5b5a21b801f12566f2ebaee /doc/development/tutorials/examples/autodoc_intenum.py
parent0b1efd7756e05b238c28c62e3946a222cacbd229 (diff)
downloadsphinx-git-f4c8a0a68e0013808d169357c9f77ebdf19d0f4e.tar.gz
Insert ``from __future__ import annotations``
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
-rw-r--r--doc/development/tutorials/examples/autodoc_intenum.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/tutorials/examples/autodoc_intenum.py b/doc/development/tutorials/examples/autodoc_intenum.py
index a23f9cebf..67b5c3f70 100644
--- a/doc/development/tutorials/examples/autodoc_intenum.py
+++ b/doc/development/tutorials/examples/autodoc_intenum.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
from enum import IntEnum
from typing import Any, Optional