We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f9c7a4 commit aecd1d8Copy full SHA for aecd1d8
Lib/test/ann_module.py
@@ -58,3 +58,5 @@ def dec(func):
58
def wrapper(*args, **kwargs):
59
return func(*args, **kwargs)
60
return wrapper
61
+
62
+u: int | float
Lib/test/ann_module4.py
@@ -0,0 +1,5 @@
1
+# This ann_module isn't for test_typing,
2
+# it's for test_module
3
4
+a:int=3
5
+b:str=4
Lib/test/ann_module7.py
@@ -0,0 +1,11 @@
+# Tests class have ``__text_signature__``
+from __future__ import annotations
+DEFAULT_BUFFER_SIZE = 8192
6
7
+class BufferedReader(object):
8
+ """BufferedReader(raw, buffer_size=DEFAULT_BUFFER_SIZE)\n--\n\n
9
+ Create a new buffered reader using the given readable raw IO object.
10
+ """
11
+ pass
0 commit comments