Utilities/py3flakes/checker.py

changeset 801
16f9875e278b
parent 791
9ec2ac20e54e
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
798:5c1786fad576 801:16f9875e278b
300 300
301 # additional node types 301 # additional node types
302 COMPREHENSION = KEYWORD = handleChildren 302 COMPREHENSION = KEYWORD = handleChildren
303 303
304 def addBinding(self, lineno, value, reportRedef = True): 304 def addBinding(self, lineno, value, reportRedef = True):
305 '''Called when a binding is altered. 305 '''
306 Called when a binding is altered.
306 307
307 @param lineno line of the statement responsible for the change (integer) 308 @param lineno line of the statement responsible for the change (integer)
308 @param value the optional new value, a Binding instance, associated 309 @param value the optional new value, a Binding instance, associated
309 with the binding; if None, the binding is deleted if it exists 310 with the binding; if None, the binding is deleted if it exists
310 @param reportRedef flag indicating if rebinding while unused will be 311 @param reportRedef flag indicating if rebinding while unused will be

eric ide

mercurial