Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in ``` from buildbot.util import poll class Foo: @poll.method def someMethod(self): pass def poll(self): pass ``` The `poll` in `@poll.method` correctly refers to the module. However, if the order of the methods is reversed, it refers instead to the `poll` method in the class scope. Pyflakes only detects this in the problematic ordering, while pylint detects it even in the working order. Pylint is probably right - re-ordering methods shouldn't change behavior!
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters