mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
added convert static method to function intention
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user