mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
(cherry picked from commit 4fefae6a1d9fbc6df174d53222ceba9208691b65) GitOrigin-RevId: d6e65ace1378765be246fe09a86d2bff133855df
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() |