From: Ɓukasz Langa Date: Sat, 17 Mar 2018 09:13:11 +0000 (-0700) Subject: Update formatting example X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/94f50c1461829625155a0753ac366ec94236818c?ds=inline Update formatting example --- diff --git a/README.md b/README.md index 3df8adc..c7d14a0 100644 --- a/README.md +++ b/README.md @@ -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, ):