[New-bugs-announce] [issue24256] threading.Timer is not a class

John Runyon report at bugs.python.org
Thu May 21 08:29:41 CEST 2015

New submission from John Runyon:

the documentation (https://docs.python.org/2/library/threading.html#threading.Timer) lists "threading.Timer" as a class. It is not, which means that (for example) you can not use it in isinstance(). "threading._Timer" is a class. "threading.Timer(...).__class__" is a class. "threading.Timer" is a function.

>>> import threading
>>> threading.Timer
<function Timer at 0x7f99cae23848>

assignee: docs at python
components: Documentation
messages: 243735
nosy: docs at python, jrunyon
priority: normal
severity: normal
status: open
title: threading.Timer is not a class
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list