lsp setup
This commit is contained in:
parent
5c937dc1c8
commit
5bd1837e7d
18 changed files with 260 additions and 195 deletions
15
tester.py
15
tester.py
|
|
@ -1,15 +1,20 @@
|
|||
items = [1, 2, 3]
|
||||
|
||||
print([x**2 for x in items])
|
||||
print([x**3 for x in items])
|
||||
|
||||
for i in items:
|
||||
print(i)
|
||||
|
||||
def myfunc():
|
||||
print("this is my func")
|
||||
|
||||
def myfunc(x: int) -> str:
|
||||
'this is a docstring yuhhh'
|
||||
return f"this is my num {x}"
|
||||
|
||||
|
||||
def myfunc2():
|
||||
pass
|
||||
pass
|
||||
|
||||
myfunc()
|
||||
print(myfunc(2))
|
||||
print(myfunc(3))
|
||||
|
||||
print(myfunc(5))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue