stdpy: support name and daemon properties in threading2 module

This commit is contained in:
rdb 2019-12-28 23:48:04 +01:00
parent 2f31c9ce68
commit bb3bfebdc2

View File

@ -602,6 +602,9 @@ class Thread(_Verbose):
assert not self.__started, "cannot set daemon status of active thread"
self.__daemonic = daemonic
name = property(getName, setName)
daemon = property(isDaemon, setDaemon)
# The timer class was contributed by Itamar Shtull-Trauring
def Timer(*args, **kwargs):