PY-22042 Gutter icon for running main clause

This commit is contained in:
Liana.Bakradze
2016-12-30 14:14:55 +03:00
parent d4ac966f03
commit 7084f40683
5 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
def f():
def g():
pass
if __name__ == '__main__':
g()
print(1)
f()

View File

@@ -0,0 +1,5 @@
def f():
print(1)
if __name__ == "__main__":
f()