We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d208c58 commit 7a835bcCopy full SHA for 7a835bc
Doc/library/ast.rst
@@ -1775,13 +1775,13 @@ Type annotations
1775
1776
>>> print(ast.dump(ast.parse('x = 1 # type: ignore', type_comments=True), indent=4))
1777
Module(
1778
- body=[
1779
- Assign(
1780
- targets=[
1781
- Name(id='x', ctx=Store())],
1782
- value=Constant(value=1))],
1783
- type_ignores=[
1784
- TypeIgnore(lineno=1, tag='')])
+ body=[
+ Assign(
+ targets=[
+ Name(id='x', ctx=Store())],
+ value=Constant(value=1))],
+ type_ignores=[
+ TypeIgnore(lineno=1, tag='')])
1785
1786
.. versionadded:: 3.8
1787
0 commit comments