Skip to content
Snippets Groups Projects
Commit 62256f73 authored by Санников Тимофей's avatar Санников Тимофей
Browse files

minor changes

parent 44916a8f
No related branches found
No related tags found
No related merge requests found
......@@ -8,21 +8,6 @@ def objcount(cl):
super().__init__(*args, **fargs)
self.__class__.counter += 1
def __del__(self):
super().__del__()
self.__class__.counter -= 1
return newcl
# @objcount
# class C:
# pass
# from fractions import Fraction
# @objcount
# class C(list):
# pass
# c, d, e = C((1,2)), C((3,4)), C((5,6))
# print(c+d)
# print(C.counter)
# c = 100500
# print(C.counter)
\ No newline at end of file
return newcl
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment