Skip to content
Snippets Groups Projects
Commit a7ebb57e authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

Merge branch 'master' into develop

parents cf1c100c 5a639a85
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ def static_var(var_name: str, starting_value): ...@@ -12,7 +12,7 @@ def static_var(var_name: str, starting_value):
>>> class MyClass: >>> class MyClass:
>>> @static_var('counter', 2) >>> @static_var('counter', 2)
>>> def count(): >>> def count(self):
>>> MyClass.count.counter += 1 >>> MyClass.count.counter += 1
""" """
def decorate(func): def decorate(func):
......
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