Andy Maier added the comment: Attaching the patch for Lib/test/test_pydoc.py, relative to the tip of 2.7. The patch adds a testcase test_class_with_metaclass(), which defines a class that provokes the buggy behavior, and verifies the fix.
---------- Added file: http://bugs.python.org/file35674/test_pydoc.py.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21561> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com