diff --git a/README.md b/README.md index 2b87e29..1db1ebe 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Whenever the original PEP 8 at python.org gets updated we need to migrate these To migrate the latest changes from the original PEP 8 source do the following: -* Look at the [source control history for the original PEP 8](https://github.com/python/peps/commits/master/pep-0008.txt) and compare it with what's live on pep8.org. (As of 2019-06 we're tracking rev `2f8f1ec`.) +* Look at the [source control history for the original PEP 8](https://github.com/python/peps/commits/master/pep-0008.txt) and compare it with what's live on pep8.org. (As of 2019-09 we're tracking rev `2ce8884`.) * Apply the missing changes to `index.html` and create a pull-request to get them reviewed and live on pep8.org diff --git a/index.html b/index.html index 8d79f5c..3e5200f 100644 --- a/index.html +++ b/index.html @@ -1220,6 +1220,15 @@

Programming Recommendations

Worse:

if greeting is True:
+
  • Use of the flow control statements return/break/continue within the finally suite of a try...finally, where the flow control statement would jump outside the finally suite, is discouraged. This is because such statements will implicitly cancel any active exception that is propagating through the finally suite.

    +

    No:

    +
    def foo():
    +    try:
    +        1 / 0
    +    finally:
    +        return 42
    +
  • +