Skip to content

Commit

Permalink
fix ast indentions to match, so that diff is more clear (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Oct 16, 2022
1 parent d2f9fcf commit 695f8f6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions docs/contributing/ast/python3_10.ast
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ module Python version "3.10"
| FunctionType(expr* argtypes, expr returns)

stmt = FunctionDef(identifier name,
arguments args,
stmt* body,
expr* decorator_list,
expr? returns,
string? type_comment)
arguments args,
stmt* body,
expr* decorator_list,
expr? returns,
string? type_comment)
| AsyncFunctionDef(identifier name,
arguments args,
stmt* body,
Expand Down
10 changes: 5 additions & 5 deletions docs/contributing/ast/python3_11.ast
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ module Python version "3.11"
| FunctionType(expr* argtypes, expr returns)

stmt = FunctionDef(identifier name,
arguments args,
stmt* body,
expr* decorator_list,
expr? returns,
string? type_comment)
arguments args,
stmt* body,
expr* decorator_list,
expr? returns,
string? type_comment)
| AsyncFunctionDef(identifier name,
arguments args,
stmt* body,
Expand Down
10 changes: 5 additions & 5 deletions docs/contributing/ast/python3_9.ast
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ module Python version "3.9"
| FunctionType(expr* argtypes, expr returns)

stmt = FunctionDef(identifier name,
arguments args,
stmt* body,
expr* decorator_list,
expr? returns,
string? type_comment)
arguments args,
stmt* body,
expr* decorator_list,
expr? returns,
string? type_comment)
| AsyncFunctionDef(identifier name,
arguments args,
stmt* body,
Expand Down

0 comments on commit 695f8f6

Please sign in to comment.