]> granicus.if.org Git - python/commit
Issue #3158: doctest can now find doctests in functions and methods
authorZachary Ware <zachary.ware@gmail.com>
Sun, 24 Nov 2013 07:19:09 +0000 (01:19 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Sun, 24 Nov 2013 07:19:09 +0000 (01:19 -0600)
commita4b7a7548c43d1d7f4fd52129aa32340ca15af6a
tree9993a71599cca9dcfbb51dc3286cbb5ab094b455
parent091167c1ca513d74c7a146d6a527e7b8b07ae7e8
Issue #3158: doctest can now find doctests in functions and methods
written in C.

As a part of this, a few doctests have been added to the builtins module
(on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all
platforms) on float, and test_builtins now runs doctests in builtins.
Doc/library/doctest.rst
Lib/doctest.py
Lib/test/test_builtin.py
Lib/test/test_doctest.py
Misc/NEWS
Objects/floatobject.c
Python/bltinmodule.c