diff options
author | Ian Lee <IanLee1521@gmail.com> | 2014-12-14 23:57:26 -0800 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2014-12-14 23:57:26 -0800 |
commit | d9a8879a2b8e67a8268e1d411082f66b4f6cc51c (patch) | |
tree | d5995fdf48628fdbd73262de81086f5a072c1250 | |
parent | f3a12babd4278f8f7a529a9d1d63d56faf071cf8 (diff) | |
download | pep8-d9a8879a2b8e67a8268e1d411082f66b4f6cc51c.tar.gz |
Add notes to docstring regarding exceptions from inline comments
-rwxr-xr-x | pep8.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -583,6 +583,10 @@ def whitespace_before_parameters(logical_line, tokens): function call. - before the open parenthesis that starts an indexing or slicing. + Exceptions (but avoid them): + - After class name in definition, e.g.: "class A (B):" + - After return, e.g.: "return (a.foo for a in range(5))" + Okay: spam(1) E211: spam (1) |