1
0
forked from VimPlug/jedi

improved many docstrings

This commit is contained in:
David Halter
2012-08-30 15:07:11 +02:00
parent d21044dca2
commit 83a5a4267f
7 changed files with 53 additions and 17 deletions

View File

@@ -706,6 +706,7 @@ class Execution(Executable):
class Generator(parsing.Base):
""" Cares for `yield` statements. """
__metaclass__ = CachedMetaClass
def __init__(self, func, var_args):
super(Generator, self).__init__()
self.func = func
@@ -748,6 +749,7 @@ class Array(parsing.Base):
methods which are important in this module.
"""
__metaclass__ = CachedMetaClass
def __init__(self, array):
self._array = array
@@ -1194,7 +1196,7 @@ def follow_statement(stmt, seek_name=None):
the result for this name.
:param stmt: A `parsing.Statement`.
:param seek_name:
:param seek_name: A string.
"""
statement_path.append(stmt) # important to know for the goto function