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

docs update

parent 6fc5e9ea
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