#588 Refactor scoping: across class bounds?

1.3.9
open
nobody
5
2007-10-16
2007-10-16
Berco Beute
No

Refactoring (CTRL-2-R) a variable name in one class also refactors a variable with the same name in another class (if both classes are in the same module). In the example below renaming (using CTRL-2-R) self.varx in class B also changes self.varx in class A.

===CODE=============

class A(object):

def __init__():
self.varx = 0

class B(object):

def __init__():
self.varx = 0
====================

Discussion