[docs] [issue26035] traceback.print_tb() takes `tb`, not `traceback` as a keyword argument

Upendra Kumar report at bugs.python.org
Fri Jan 8 04:58:06 EST 2016

Upendra Kumar added the comment:

I am submitting a patch for this documentation issue. I have changed the function parameters name 'traceback' to 'tb'. Because of this I have also introduced changes in the text of the documentation to maintain coherency.

I found some more inconsistent function parameter's name:

I have changed them :

'type' to 'etype' in functions print_exception, format_exception_only, format_exception

'list' to 'extracted_list' in function format_list

keywords: +patch
nosy: +upendra-k14
Added file: http://bugs.python.org/file41531/func_args_name.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list