Created
September 13, 2018 14:49
-
-
Save rca/07cb74c350d6be278249db6136faa7f7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class Foo: | |
def __init__(self, x=[]): | |
self.x = x | |
f = Foo() | |
f.x.append(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment