X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a1fd7b26e75ab6e98fbb46770f9597bdf0958c51..f5b14b1afd1ceb240c0b46a2cd3e380a4da857df:/README.md diff --git a/README.md b/README.md index 7f9b1d0..57272ae 100644 --- a/README.md +++ b/README.md @@ -189,12 +189,12 @@ brackets and put that in a separate indented line. ```py3 # in: -TracebackException.from_exception(exc, limit, lookup_lines, capture_locals) +ImportantClass.important_method(exc, limit, lookup_lines, capture_locals, extra_argument) # out: -TracebackException.from_exception( - exc, limit, lookup_lines, capture_locals +ImportantClass.important_method( + exc, limit, lookup_lines, capture_locals, extra_argument ) ``` @@ -208,7 +208,7 @@ 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, engine: str, header: bool = True, debug: bool = False): """Applies `variables` to the `template` and writes to `file`.""" with open(file, 'w') as f: ... @@ -219,6 +219,8 @@ def very_important_function( template: str, *variables, file: os.PathLike, + engine: str, + header: bool = True, debug: bool = False, ): """Applies `variables` to the `template` and writes to `file`.""" @@ -942,10 +944,12 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). ### 19.2b0 -* *Black* no longer normalizes numeric literals to include `_` separators. +* long `del` statements are now split into multiple lines (#698) + +* *Black* no longer normalizes numeric literals to include `_` separators (#696) * new option `--target-version` to control which Python versions - *Black*-formatted code should target + *Black*-formatted code should target (#618) ### 18.9b0