1
0
forked from VimPlug/jedi

docstrings.py docstring

This commit is contained in:
David Halter
2013-02-05 23:25:12 +01:00
parent 0adb0ac818
commit cd931c5112

View File

@@ -1,4 +1,15 @@
""" Processing of docstrings, which means parsing for types. """
"""
Docstrings are another source of information for functions and classes.
:mod:`dynamic` tries to find all executions of functions, while the docstring
parsing is much easier. There are two different types of docstrings that |jedi|
understands:
- Sphinx
- Epidoc
For example, the sphinx annotation ``:type foo: str`` clearly states that the
type of ``foo`` is ``str``.
"""
import re