mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-02 02:33:45 +08:00
Some changes in the PEP 0484 understanding (more future compatible)
This commit is contained in:
1 parent
b3a07941bb
commit
53ca7c19cd
1 file changed
+2
-2
@@ -68,7 +68,7 @@ def return_annotation_and_docstring() -> str:
|
||||
"""
|
||||
pass
|
||||
|
||||
#? str() int()
|
||||
#? str()
|
||||
return_annotation_and_docstring()
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ function_with_non_pep_0484_annotation(1, 2, 3, "force string")
|
||||
def function_forward_reference_dynamic(
|
||||
x: return_str_type(),
|
||||
y: "return_str_type()") -> None:
|
||||
#?
|
||||
#? str()
|
||||
x
|
||||
#? str()
|
||||
y
|
||||
|
||||
Reference in new issue
Block a user