summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2013-01-22 10:18:08 +0100
committerFlorent Xicluna <florent.xicluna@gmail.com>2013-01-22 10:18:08 +0100
commit49cc6a478a61a2c0718763a5a9eeae3029cf4540 (patch)
tree79b86affc2cfddef03ca8004ac1daa0e7875636c /docs
parent9355ae7104f1c7f32000b42d93e84c743d39f4c6 (diff)
downloadpep8-49cc6a478a61a2c0718763a5a9eeae3029cf4540.tar.gz
Allow to construct a StyleGuide with a custom parser
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 1fb5e05..4094036 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -21,7 +21,7 @@ instance to check multiple files.
The :class:`Checker` class can be used to check a single file.
-.. autoclass:: StyleGuide(parse_argv=False, config_file=None, paths=None, report=None, **kwargs)
+.. autoclass:: StyleGuide(parse_argv=False, config_file=None, parser=None, paths=None, report=None, **kwargs)
.. automethod:: init_report(reporter=None)
.. automethod:: check_files(paths=None)
@@ -39,6 +39,7 @@ The :class:`Checker` class can be used to check a single file.
.. automethod:: check_physical(line)
.. automethod:: build_tokens_line
.. automethod:: check_logical
+ .. automethod:: check_ast
.. automethod:: generate_tokens
.. automethod:: check_all(expected=None, line_offset=0)