From c1c3f35e08a2404814d0463a648c562c15f1beb6 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 1 May 2017 02:26:24 +0200 Subject: [PATCH] Docstring for Param.get_code(). --- jedi/parser/python/tree.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jedi/parser/python/tree.py b/jedi/parser/python/tree.py index a13c1d7d..62335f13 100644 --- a/jedi/parser/python/tree.py +++ b/jedi/parser/python/tree.py @@ -984,6 +984,12 @@ class Param(PythonBaseNode): return search_ancestor(self, ('funcdef', 'lambdef')) def get_code(self, normalized=False, include_prefix=True, include_comma=True): + """ + Like all the other get_code functions, but includes the param + `include_comma`. + + :param include_comma bool: If enabled includes the comma in the string output. + """ if include_comma: return super(Param, self).get_code(normalized, include_prefix)