aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rw-r--r--test.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..f6fe3a0
--- /dev/null
+++ b/test.py
@@ -0,0 +1,15 @@
1class A:
2 def __init__(self, b: dict = {}) -> None:
3 self.b = b
4
5
6a1 = A()
7a2 = A()
8
9print(a1.b)
10print(a2.b)
11
12a1.b["test"] = 123
13
14print(a1.b)
15print(a2.b)