A small docstring.

This commit is contained in:
Dave Halter
2017-09-02 22:41:15 +02:00
parent a4d28d2eda
commit 1bf9ca94bb

View File

@@ -184,6 +184,9 @@ class Name(_LeafWithoutNewlines):
self.line, self.column)
def is_definition(self):
"""
Returns True if the name is being defined.
"""
return self._get_definition() is not None
def _get_definition(self):