Skip to content

Instantly share code, notes, and snippets.

@engyasin
Created February 14, 2017 08:23
Show Gist options
  • Save engyasin/770771f5c568be48e1e608ad259f0a0b to your computer and use it in GitHub Desktop.
Save engyasin/770771f5c568be48e1e608ad259f0a0b to your computer and use it in GitHub Desktop.
class Myclass:
def __init__(self):
self.cond = True
pass
def func1(self,arg):
while self.cond:
pass
def stop_func1(self,args):
self.cond = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment