fixed typo missing self
This commit is contained in:
parent
fed39077c0
commit
58662b42be
|
@ -1,7 +1,7 @@
|
|||
import threading
|
||||
|
||||
class UserlessThread(Exception):
|
||||
def __str__():
|
||||
def __str__(self):
|
||||
return "Current thread: %s is not an instance of InstanceThread \
|
||||
of InstanceInheritingThread" % str(threading.current_thread())
|
||||
|
||||
|
|
Loading…
Reference in New Issue