summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/overload.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/overload.py')
-rw-r--r--tests/roots/test-ext-autodoc/target/overload.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/roots/test-ext-autodoc/target/overload.py b/tests/roots/test-ext-autodoc/target/overload.py
index 902f00915..4bcb6ea3c 100644
--- a/tests/roots/test-ext-autodoc/target/overload.py
+++ b/tests/roots/test-ext-autodoc/target/overload.py
@@ -9,7 +9,7 @@ def sum(x: int, y: int = 0) -> int:
@overload
-def sum(x: "float", y: "float" = 0.0) -> "float":
+def sum(x: float, y: float = 0.0) -> float:
...
@@ -31,7 +31,7 @@ class Math:
...
@overload
- def sum(self, x: "float", y: "float" = 0.0) -> "float":
+ def sum(self, x: float, y: float = 0.0) -> float:
...
@overload
@@ -47,11 +47,11 @@ class Foo:
"""docstring"""
@overload
- def __new__(cls, x: int, y: int) -> "Foo":
+ def __new__(cls, x: int, y: int) -> Foo:
...
@overload
- def __new__(cls, x: "str", y: "str") -> "Foo":
+ def __new__(cls, x: str, y: str) -> Foo:
...
def __new__(cls, x, y):
@@ -66,7 +66,7 @@ class Bar:
...
@overload
- def __init__(cls, x: "str", y: "str") -> "None":
+ def __init__(cls, x: str, y: str) -> None:
...
def __init__(cls, x, y):
@@ -79,7 +79,7 @@ class Meta(type):
...
@overload
- def __call__(cls, x: "str", y: "str") -> "Any":
+ def __call__(cls, x: str, y: str) -> Any:
...
def __call__(cls, x, y):