mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-27 12:02:36 +08:00
Correct seperator for param anotation docstring
This commit is contained in:
committed by
Dave Halter
parent
89646e0970
commit
d3cfcc24b8
@@ -1062,7 +1062,7 @@ class Param(PythonBaseNode):
|
|||||||
@property
|
@property
|
||||||
def annotation(self):
|
def annotation(self):
|
||||||
"""
|
"""
|
||||||
The default is the test node that appears after `->`. Is `None` in case
|
The default is the test node that appears after `:`. Is `None` in case
|
||||||
no annotation is present.
|
no annotation is present.
|
||||||
"""
|
"""
|
||||||
tfpdef = self._tfpdef()
|
tfpdef = self._tfpdef()
|
||||||
|
|||||||
Reference in New Issue
Block a user