generated from jCloud/repository-template
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
045167098f
|
||
|
|
31995e830b
|
No files matched your search
-1
@@ -1,6 +1,5 @@
|
|||||||
def func(): ...
|
def func(): ...
|
||||||
|
|
||||||
|
|
||||||
def func2(a: int, b: int = 42, c=42, d=42):
|
def func2(a: int, b: int = 42, c=42, d=42):
|
||||||
"""
|
"""
|
||||||
:param c:
|
:param c:
|
||||||
|
|||||||
@@ -2,14 +2,12 @@
|
|||||||
A test module.
|
A test module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def fn(a: int, b: int = 42, c=42, d=42):
|
def fn(a: int, b: int = 42, c=42, d=42):
|
||||||
"""
|
"""
|
||||||
:param c:
|
:param c:
|
||||||
:type c: int
|
:type c: int
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def add(a: int | float, b: int | float) -> int | float:
|
def add(a: int | float, b: int | float) -> int | float:
|
||||||
"""
|
"""
|
||||||
Adds two numbers.
|
Adds two numbers.
|
||||||
|
|||||||
@@ -727,7 +727,9 @@ 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(
|
PythonFunctionArgument(
|
||||||
'a',
|
'a',
|
||||||
|
|||||||
Reference in new issue
Block a user