Issue #27191: Improve markup of PEP 8, patch by Ian Lee
This commit is contained in:
parent
3613e068ae
commit
efcd31a52f
|
@ -1183,8 +1183,8 @@ Programming Recommendations
|
|||
do_stuff_in_transaction(conn)
|
||||
|
||||
The latter example doesn't provide any information to indicate that
|
||||
the __enter__ and __exit__ methods are doing something other than
|
||||
closing the connection after a transaction. Being explicit is
|
||||
the ``__enter__`` and ``__exit__`` methods are doing something other
|
||||
than closing the connection after a transaction. Being explicit is
|
||||
important in this case.
|
||||
|
||||
- Be consistent in return statements. Either all return statements in
|
||||
|
|
Loading…
Reference in New Issue