generated from jCloud/repository-template
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06802c96f6
|
||
|
|
17c5e4938f
|
No files matched your search
+1
@@ -1,5 +1,6 @@
|
||||
def func(): ...
|
||||
|
||||
|
||||
def func2(a: int, b: int = 42, c=42, d=42):
|
||||
"""
|
||||
:param c:
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
A test module.
|
||||
"""
|
||||
|
||||
|
||||
def fn(a: int, b: int = 42, c=42, d=42):
|
||||
"""
|
||||
:param c:
|
||||
:type c: int
|
||||
"""
|
||||
|
||||
|
||||
def add(a: int | float, b: int | float) -> int | float:
|
||||
"""
|
||||
Adds two numbers.
|
||||
|
||||
@@ -727,9 +727,7 @@ def argument_list(argument_list: str) -> ast.arguments:
|
||||
],
|
||||
),
|
||||
(
|
||||
argument_list(
|
||||
"a, b='a', /, *args, c=None, d=True, **kwargs"
|
||||
),
|
||||
argument_list("a, b='a', /, *args, c=None, d=True, **kwargs"),
|
||||
[
|
||||
PythonFunctionArgument(
|
||||
'a',
|
||||
|
||||
Reference in new issue
Block a user