mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Some changes in the PEP 0484 understanding (more future compatible)
This commit is contained in:
@@ -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