From ac159bac07855de7870c857d419fa9dcbd877300 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 3 Mar 2013 14:17:16 +0100 Subject: [PATCH] Document pr.Simple.__init__ --- jedi/parsing_representation.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jedi/parsing_representation.py b/jedi/parsing_representation.py index 08cdba53..c4c0ac1d 100644 --- a/jedi/parsing_representation.py +++ b/jedi/parsing_representation.py @@ -50,6 +50,16 @@ class Simple(Base): '_end_pos') def __init__(self, module, start_pos, end_pos=(None, None)): + """ + Initialize :class:`Simple`. + + :type module: :class:`SubModule` + :param module: The module in which this Python object locates. + :type start_pos: 2-tuple of int + :param start_pos: Position (line, column) of the Statement. + :type end_pos: 2-tuple of int + :param end_pos: Same as `start_pos`. + """ self._sub_module = module self._start_pos = start_pos self._end_pos = end_pos