summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-autodoc/target/annotated.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/annotated.py')
-rw-r--r--tests/roots/test-ext-autodoc/target/annotated.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/roots/test-ext-autodoc/target/annotated.py b/tests/roots/test-ext-autodoc/target/annotated.py
new file mode 100644
index 0000000..5b87518
--- /dev/null
+++ b/tests/roots/test-ext-autodoc/target/annotated.py
@@ -0,0 +1,8 @@
+from __future__ import annotations
+
+from typing import Annotated
+
+
+def hello(name: Annotated[str, "attribute"]) -> None:
+ """docstring"""
+ pass