From d3cfcc24b8b1eff23446477d5d9a4138a62068ea Mon Sep 17 00:00:00 2001 From: Alisdair Robertson Date: Thu, 26 Oct 2017 00:51:32 +1100 Subject: [PATCH] Correct seperator for param anotation docstring --- parso/python/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parso/python/tree.py b/parso/python/tree.py index 99d3ee4..54d1aa9 100644 --- a/parso/python/tree.py +++ b/parso/python/tree.py @@ -1062,7 +1062,7 @@ class Param(PythonBaseNode): @property 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. """ tfpdef = self._tfpdef()