diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/ast.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index a7e0729..baf563f 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -381,10 +381,19 @@ The following options are accepted: Specify what kind of code must be compiled, like the *mode* argument in :func:`parse`. +.. cmdoption:: --no-type-comments + + Don't parse type comments. + .. cmdoption:: -a, --include-attributes Include attributes such as line numbers and column offsets. +.. cmdoption:: -i <indent> + --indent <indent> + + Indentation of nodes in AST (number of spaces). + If :file:`infile` is specified its contents are parsed to AST and dumped to stdout. Otherwise, the content is read from stdin. |