summaryrefslogtreecommitdiff
path: root/Lib/test/inspect_fodder2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/inspect_fodder2.py')
-rw-r--r--Lib/test/inspect_fodder2.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/Lib/test/inspect_fodder2.py b/Lib/test/inspect_fodder2.py
index c6987ea2c9..5a7b559d07 100644
--- a/Lib/test/inspect_fodder2.py
+++ b/Lib/test/inspect_fodder2.py
@@ -137,3 +137,19 @@ class cls135:
def func137():
never_reached1
never_reached2
+
+#line 141
+def positional_only_arg(a, /):
+ pass
+
+#line 145
+def all_markers(a, b, /, c, d, *, e, f):
+ pass
+
+# line 149
+def all_markers_with_args_and_kwargs(a, b, /, c, d, *args, e, f, **kwargs):
+ pass
+
+#line 153
+def all_markers_with_defaults(a, b=1, /, c=2, d=3, *, e=4, f=5):
+ pass