summaryrefslogtreecommitdiff
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-07-29 02:31:39 +0200
committerÉric Araujo <merwok@netwok.org>2011-07-29 02:31:39 +0200
commit943006bf68825ea007a1941f8afb09d202868988 (patch)
treef7d101eead53c8d2b69f10210fdafe798d4fc6d1 /Lib/pydoc.py
parent73c175f5a0a7e749357e74f518c89b716b7e34b2 (diff)
downloadcpython-git-943006bf68825ea007a1941f8afb09d202868988.tar.gz
Let all pysetup actions return a meaningful 0 or 1 exit code (#12222).
This will help scripts calling pysetup know if a command failed. Printing/logging was also made more consistent, and a few things were cleaned up. In particular, the error/Ctrl-C handling was moved from the _run function up to the main function. The run action is not fixed yet; it returns the dist.Distribution instance, which is needed by test_uninstall and not trivial to fix.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions