A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021884.html below:

R: [Python-Dev] Deprecating string exceptions

R: [Python-Dev] Deprecating string exceptions R: [Python-Dev] Deprecating string exceptionsSkip Montanaro skip@pobox.com
Thu, 28 Mar 2002 13:00:02 -0600
    >> >>> import exceptions
    >> >>> print exceptions.__doc__[1109:]

    Guido> Now, in addition, I lament the fact that we've got two disjointly
    Guido> developed sets of documentation, fighting over who can be called
    Guido> authoritative: doc strings and the HTML docs on the web. :-(

Yeah, that's a bit of a bummer.  I'm modifying libexcs.tex right now.  I
will add a comment to exceptions.c noting that the tex source has to be
updated if the hierarchy changes.  Some enterprising person could probably
add a little magic to Doc/Makefile to automatically update the .tex file
from the .c file, but I doubt it will change that often.

I think the more correct way to do this would be to run help(exceptions)
from Doc/Makefile and snatch the class hierarchy that Ping generates for use
in the .tex file.  I'd then advocate that the module doc string simply refer
to the libref docs for the hierarchy.

Skip




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4