aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorIgor Tolmachov <me@igorek.dev>2022-12-05 22:29:41 +0900
committerIgor Tolmachov <me@igorek.dev>2022-12-05 22:29:41 +0900
commit0de7969d30e3e57d681afdfcadd245f6988a0342 (patch)
treebc0957e9208f51354aa2330dc20a090b7f680823 /test.py
parent0d5cab62b0d077ad7946b64a534e3914f1cc79dd (diff)
downloadkarpov_ai_bot-0de7969d30e3e57d681afdfcadd245f6988a0342.tar.gz
karpov_ai_bot-0de7969d30e3e57d681afdfcadd245f6988a0342.zip
2.1
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)