This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nchammas
Recipients docs@python, nchammas
Date 2016-01-07.04:47:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452142055.04.0.968906484949.issue26035@psf.upfronthosting.co.za>
In-reply-to
Content
Here is traceback.print_tb()'s signature [0]:

```
def print_tb(tb, limit=None, file=None):
```

However, its documentation reads [1]:

```
.. function:: print_tb(traceback, limit=None, file=None)
```

Did the keyword argument change recently, or was this particular doc always wrong?

[0] https://github.com/python/cpython/blob/1fe0fd9feb6a4472a9a1b186502eb9c0b2366326/Lib/traceback.py#L43
[1] https://raw.githubusercontent.com/python/cpython/1fe0fd9feb6a4472a9a1b186502eb9c0b2366326/Doc/library/traceback.rst
History
Date User Action Args
2016-01-07 04:47:35nchammassetrecipients: + nchammas, docs@python
2016-01-07 04:47:35nchammassetmessageid: <1452142055.04.0.968906484949.issue26035@psf.upfronthosting.co.za>
2016-01-07 04:47:35nchammaslinkissue26035 messages
2016-01-07 04:47:34nchammascreate