Some docstring changes.

This commit is contained in:
Dave Halter
2017-05-11 16:11:53 -04:00
parent 944ceae0af
commit 802629d6ca
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
""" """
The ``Parser`` tries to convert the available Python code in an easy to read The ``Parser`` tries to convert the available Python code in an easy to read
format, something like an abstract syntax tree. The classes who represent this format, something like an abstract syntax tree. The classes who represent this
tree, are sitting in the :mod:`jedi.parser.tree` module. tree, are sitting in the :mod:`parso.tree` module.
The Python module ``tokenize`` is a very important part in the ``Parser``, The Python module ``tokenize`` is a very important part in the ``Parser``,
because it splits the code into different words (tokens). Sometimes it looks a because it splits the code into different words (tokens). Sometimes it looks a

View File

@@ -2,8 +2,8 @@
""" """
This tokenizer has been copied from the ``tokenize.py`` standard library This tokenizer has been copied from the ``tokenize.py`` standard library
tokenizer. The reason was simple: The standard library tokenizer fails tokenizer. The reason was simple: The standard library tokenizer fails
if the indentation is not right. The fast parser of jedi however requires if the indentation is not right. To make it possible to do error recovery the
"wrong" indentation. tokenizer needed to be rewritten.
Basically this is a stripped down version of the standard library module, so Basically this is a stripped down version of the standard library module, so
you can read the documentation there. Additionally we included some speed and you can read the documentation there. Additionally we included some speed and