mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 21:28:47 +08:00
Fix an error in param comments
This commit is contained in:
1 parent
13ba74515d
commit
f5cf4c1954
2 files changed
+21
-10
No files matched your search
@@ -157,11 +157,6 @@ x = UNKNOWN_NAME2 # type: str
|
||||
#? str()
|
||||
x
|
||||
|
||||
def x(a, b):
|
||||
# type: ([) -> a
|
||||
#?
|
||||
a
|
||||
|
||||
class Cat(object):
|
||||
def __init__(self, age, friends, name):
|
||||
# type: (int, List[Dog], str) -> None
|
||||
@@ -172,3 +167,14 @@ class Cat(object):
|
||||
cat = Cat(UNKNOWN_NAME4, UNKNOWN_NAME5, UNKNOWN_NAME6)
|
||||
#? str()
|
||||
cat.name
|
||||
|
||||
|
||||
# Check potential errors
|
||||
def x(a, b):
|
||||
# type: ([) -> a
|
||||
#?
|
||||
a
|
||||
def x(a, b):
|
||||
# type: (1) -> a
|
||||
#?
|
||||
a
|
||||
Reference in new issue
Block a user