forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathone.py
More file actions
46 lines (32 loc) · 687 Bytes
/
one.py
File metadata and controls
46 lines (32 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import sys
print(sys.api_version)
class Class1(object):
"""Some class
And the second line
"""
description = "Run isort on modules registered in setuptools"
user_options = []
def __init__(self, file_path=None, file_contents=None):
self.prop1 = ''
self.prop2 = 1
def method1(self):
"""
This is method1
"""
pass
def method2(self):
"""
This is method2
"""
pass
obj = Class1()
obj.method1()
def function1():
print("SOMETHING")
def function2():
print("SOMETHING")
def function3():
print("SOMETHING")
def function4():
print("SOMETHING")
function1()