diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-02 03:53:41 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-02 03:53:41 (GMT) |
commit | 7402f791a4633689fea904b2bd9caea2b25de620 (patch) | |
tree | 36d27033dcf9d5f36b607a94bb3c8d52ecfe557e /Misc | |
parent | d90f509b8f3482787eeeae560d9bc1c909a8e857 (diff) | |
download | cpython-7402f791a4633689fea904b2bd9caea2b25de620.zip cpython-7402f791a4633689fea904b2bd9caea2b25de620.tar.gz cpython-7402f791a4633689fea904b2bd9caea2b25de620.tar.bz2 |
SF patch [#466616] Exclude imported items from doctest,
from Tim Hochberg. Also mucho fiddling to change the way doctest
determines whether a thing is a function, module or class. Under 2.2,
this really requires the functions in inspect.py (e.g., types.ClassType
is close to meaningless now, if not outright misleading).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ Core Library +- doctest now excludes functions and classes not defined by the module + being tested, thanks to Tim Hochberg. + - quopri's encode and decode methods take an optional header parameter, which indicates whether output is intended for the header 'Q' encoding. |