added convert static method to function intention

This commit is contained in:
Ekaterina Tuzova
2013-04-24 18:12:02 +04:00
parent ca3c43ced5
commit 64668ea702
6 changed files with 110 additions and 0 deletions
@@ -0,0 +1,15 @@
class MyClass(object):
"""
My class to show intention.
"""
def __init__(self):
self.a = 1
def my_static_method():
import code
import time
time.sleep(100)
print code
@@ -0,0 +1,15 @@
class MyClass(object):
"""
My class to show intention.
"""
def __init__(self):
self.a = 1
@staticmethod
def my_<caret>static_method():
import code
import time
time.sleep(100)
print code