mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
23 lines
365 B
Python
23 lines
365 B
Python
from __future__ import print_function
|
|
import threading
|
|
|
|
|
|
class A(threading.Thread):
|
|
def foo(self):
|
|
print("foo")
|
|
|
|
def bar(self):
|
|
print("bar")
|
|
|
|
def baz(self):
|
|
print("baz")
|
|
|
|
def run(self):
|
|
self.foo() # breakpoint
|
|
self.bar()
|
|
self.baz() # breakpoint
|
|
|
|
|
|
if __name__ == '__main__':
|
|
t = A()
|
|
t.start() |