Update formatting example
This commit is contained in:
parent
9d78a57187
commit
94f50c1461
@ -106,7 +106,7 @@ matching brackets. If that doesn't work, it will put all of them in
|
||||
separate lines.
|
||||
```py3
|
||||
# in:
|
||||
def very_important_function(template: str, *variables, *, file: os.PathLike, debug: bool = False):
|
||||
def very_important_function(template: str, *variables, file: os.PathLike, debug: bool = False):
|
||||
"""Applies `variables` to the `template` and writes to `file`."""
|
||||
with open(file, 'w') as f:
|
||||
...
|
||||
@ -115,7 +115,6 @@ def very_important_function(template: str, *variables, *, file: os.PathLike, deb
|
||||
def very_important_function(
|
||||
template: str,
|
||||
*variables,
|
||||
*,
|
||||
file: os.PathLike,
|
||||
debug: bool = False,
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user