Skip to content

Commit 69a715d

Browse files
committed
Fix documentation of Binding.used
ef4da24 changed the Binding.used tuple from (scope, line number) to (scope, node). This updates the docstring to reflect this change.
1 parent 2a254e8 commit 69a715d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyflakes/checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ class Binding(object):
9292
which names have not. See L{Assignment} for a special type of binding that
9393
is checked with stricter rules.
9494
95-
@ivar used: pair of (L{Scope}, line-number) indicating the scope and
96-
line number that this binding was last used
95+
@ivar used: pair of (L{Scope}, node) indicating the scope and
96+
the node that this binding was last used.
9797
"""
9898

9999
def __init__(self, name, source):

0 commit comments

Comments
 (0)