Fred Drake
8c071d4388
Massively improved documentation for string formatting operations,
...
primarily from Evelyn Mitchell (thanks!).
This closes SF patch #103412 .
2001-01-26 20:48:35 +00:00
Tim Peters
e360d9507a
The combo of getstate/setstate/jumpahead is very powerful, but needs
...
examples to flesh it out for the uninitiated. Here they are.
2001-01-26 10:00:39 +00:00
Fred Drake
29052482d1
Removed references to Python 1.5.3; that was a "tentative" number I used
...
in the docs to indicate the next version before we decided on 1.6.
Adjusted winsound.Beep() description slightly as well.
2001-01-25 17:29:18 +00:00
Tim Peters
517ce23183
Clarify winsound.beep docs, in response to c.l.py beep brouhahalet.
2001-01-25 09:33:48 +00:00
Tim Peters
d52269bfd0
Fix bugs introduced by rewrite (in particular, time-based initialization
...
got broken). Also added new method .jumpahead(N). This finally gives us
a semi-decent answer to how Python's RNGs can be used safely and efficiently
in multithreaded programs (although it requires the user to use the new
machinery!).
2001-01-25 06:23:18 +00:00
Tim Peters
d7b5e88e8e
Reworked random.py so that it no longer depends on, and offers all the
...
functionality of, whrandom.py. Also closes all the "XXX" todos in
random.py. New frequently-requested functions/methods getstate() and
setstate(). All exported functions are now bound methods of a hidden
instance. Killed all unintended exports. Updated the docs.
FRED: The more I fiddle the docs, the less I understand the exact
intended use of the \var, \code, \method tags. Please review critically.
GUIDO: See email. I updated NEWS as if whrandom were deprecated; I
think it should be.
2001-01-25 03:36:26 +00:00
Barry Warsaw
83125775e0
A \begin{funcdesc} was closed with an \end{methoddesc}.
2001-01-25 00:39:16 +00:00
Barry Warsaw
21f37e1b88
Fixed a bug where \& was needed.
2001-01-25 00:38:15 +00:00
Barry Warsaw
8ee1a4bdeb
Provide a much better (and complete!) description of the lockf()
...
function, based on an eyeballing of the code.
2001-01-25 00:36:54 +00:00
Tim Peters
902446a28d
Supply long-missing docs for random.seed(). Extensive rewrite of module
...
intro docs.
*************** Fred: check my LaTeX! Also, the docs for whrandom should
*************** be moved into Obsolete Modules.
2001-01-24 23:06:53 +00:00
Fred Drake
9368a12011
Fix an obvious usage nit I should have caught myself on the previous
...
change to this file. Thanks, /F!
2001-01-24 18:19:40 +00:00
Ka-Ping Yee
fa004ad36c
Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.
...
Switch from octal escapes to hex escapes for other nonprintable characters.
2001-01-24 17:19:08 +00:00
Fred Drake
b1b6a11b28
AttributeList --> NamedNodeMap
...
Since there is no such thing as an AttributeList, don't say "attributes"
is one.
2001-01-24 16:17:15 +00:00
Fredrik Lundh
0110d3b2ad
new unicodedata functions (name, lookup)
2001-01-24 08:10:07 +00:00
Skip Montanaro
eda28445c0
documented (new) optional doseq parameter to urlencode.
2001-01-24 06:36:06 +00:00
Eric S. Raymond
f79cb2db3e
Expose the autoraise capability. Improve the documentation.
2001-01-23 13:49:44 +00:00
Eric S. Raymond
aeb5532ca0
Oops...finish a mangled sentence.
2001-01-23 13:22:28 +00:00
Eric S. Raymond
f7f185116a
Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee's
...
complaints. The new version moves most of its initialization to
package load time; it's simpler, faster, smaller, and adds support for
Mozilla and Links. Interpretation of the BROWSER variable now works
and is documented. The open_new entry point and methods are marked
"deprecated; may be removed in 2.1".
2001-01-23 13:16:32 +00:00
Fred Drake
dc40ac0fe0
Added link to the "Python Codecs" project at SourceForge.
...
Changed markup of the list of values for the list of meaningful "errors"
values.
2001-01-22 20:17:54 +00:00
Fred Drake
0f564eaceb
Change some wording to make this work with PDF generation -- using a PDF
...
hyperlink at the start of the paragraph confused pdflatex; it saw the
link start while still in vertical mode, which is not allowed. Including
text before the link forces horizontal mode.
2001-01-22 19:06:20 +00:00
Fred Drake
5f0decf0d3
Clean up the docs for the "random" module according to comments from Tim
...
Peters.
This closes SF bug #125919 .
2001-01-22 18:18:30 +00:00
Fred Drake
ef8cd7ca99
Minor markup adjustment.
2001-01-22 17:42:32 +00:00
Thomas Wouters
fe385251f4
Make the 'time' argument to the timemodule functions strftime, asctime,
...
ctime, gmtime and localtime optional, defaulting to 'the current time' in
all cases. Adjust docs, add news item. Also convert all argument-handling to
METH_VARARGS. Closes SF patch #103265 .
2001-01-19 23:16:56 +00:00
Marc-André Lemburg
6f77667a64
Backed out the unistr() builtin.
2001-01-19 21:36:19 +00:00
Fred Drake
bc0b260a77
Minor markup cleaning, and one required fix in the unistr() description.
2001-01-18 18:09:07 +00:00
Skip Montanaro
9483bed6d9
correct typo - closes bug #129205
2001-01-18 10:44:08 +00:00
Ka-Ping Yee
3a9582fbe5
Fix the example (it didn't seem to reflect reality).
2001-01-18 07:50:17 +00:00
Marc-André Lemburg
ad7c98e264
This patch adds a new builtin unistr() which behaves like str()
...
except that it always returns Unicode objects.
A new C API PyObject_Unicode() is also provided.
This closes patch #101664 .
Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
2001-01-17 17:09:53 +00:00
Fred Drake
90badd1286
Add a missing newline in an example; caught by Chris Ryland
...
<cpr@emsoftware.com>.
2001-01-17 05:12:13 +00:00
Guido van Rossum
20ab9e9c0a
Document xreadlines() method. (Forgot to check this in before!)
2001-01-17 01:18:00 +00:00
Fred Drake
25be1931a0
Fix a few small markup/consistency nits.
2001-01-16 20:52:41 +00:00
Eric S. Raymond
bd1a489759
push_source() and pop_source() entry points for shlex instances.
...
These basically just make available to the user what userhook()
does to the source stack. Documentation included.
2001-01-16 14:18:55 +00:00
Barry Warsaw
83ad5015cb
effbot caught a typo!
2001-01-15 20:51:40 +00:00
Barry Warsaw
773d9f09be
Document function attributes for both the function type and the method
...
type. The method documentation also includes a new brief discussion
of `bound' vs. `unbound' and why setting an attr on a bound method is
a TypeError. Includes Skip's suggested text.
2001-01-15 20:28:50 +00:00
Barry Warsaw
a770e866d6
Fixing author's email address.
2001-01-15 17:08:45 +00:00
Guido van Rossum
97d3b93c2f
Document changed default to passive mode.
2001-01-15 16:37:05 +00:00
Guido van Rossum
77b20f099e
Document filterwarnings(..., append=<bool>).
2001-01-14 14:10:18 +00:00
Fred Drake
1beb3d204f
Added note that this module was added in Python 2.1.
2001-01-12 22:57:32 +00:00
Fred Drake
ca7e1ee01a
Updated descriptions to incorporate additional information from Tim Peters.
...
This mostly closes SF bug #128251 .
2001-01-11 22:49:49 +00:00
Martin v. Löwis
a177c40daf
Document \code{import} in pth files.
2001-01-11 22:07:25 +00:00
Fred Drake
49c9ac30a4
Fixed minor markup nits for consistency with the rest of the library
...
reference.
2001-01-11 16:02:08 +00:00
Eric S. Raymond
ab78beca2f
Added pointer on POP3 variations.
2001-01-11 10:22:34 +00:00
Moshe Zadka
f68f2fec7d
Implementation of PEP-0217.
...
This closes the PEP, and patch 103170
2001-01-11 05:41:27 +00:00
Eric S. Raymond
5ac97957f7
Corrections and additions to the documentation for POP3 and IMAP library
...
support, based on my fetchmail experience.
2001-01-11 04:19:52 +00:00
Eric S. Raymond
8321026ff4
SourceForge patch #103140 , checked in at fdrake's invitation. Minor fixes and
...
additions to library docs.#
2001-01-10 19:34:52 +00:00
Fred Drake
3c48ef7de8
Added documentation for the xreadlines module & related changes. The
...
documentation was written by Jeff Epler (thanks!).
2001-01-09 22:47:46 +00:00
Fred Drake
986eafdc2b
Added missing word; fixed minor nits.
2001-01-09 20:54:15 +00:00
Fred Drake
37f1b34b62
Added entry for fpectl module documentation.
...
Moved the mutex docs to be adjacent to the sched docs, since these are
meant to be used together (if they are used at all!).
2001-01-09 20:52:49 +00:00
Fred Drake
a5e7ad99d5
Documentation for the fpectl module, from Lee Busby. (Thanks!)
2001-01-09 20:38:54 +00:00
Fred Drake
45b1d6a831
Explain that long options are matched based on a unique prefix rather than
...
requiring the whole option to be typed out.
This closes SF bug #126863 .
2001-01-08 16:05:51 +00:00
Fred Drake
e1d4715a6f
Update explanation of the set_location() method to indicate that in
...
BTree databases, the key need not be in the database. Also, tell about
the exception if the key is not in the DB for other DB types.
This closes SF bug #127377 .
2001-01-05 06:44:19 +00:00
Fred Drake
4e18f07613
Based on comments from Guido, do not describe bisect() and insert() as
...
being "for backward compatibility." Also revert to using bisect() in the
example, since Guido thinks that is the best recommendation for typical
usage.
2001-01-04 14:18:55 +00:00
Fred Drake
288927f426
Markup nit: Command line options should be marked with \programopt.
...
Other minor markup nits fixed.
Make reference to PyErr_Warn() a hyperlink.
2001-01-04 05:59:37 +00:00
Fred Drake
b162d188f6
Fix typo spotted by Detlef Lannert <lannert@users.sourceforge.net>.
2001-01-04 05:48:08 +00:00
Fred Drake
19ae78302e
Added information about the interaction of opening a file in append mode
...
and seek() in the description of seek().
This closes SF bug #126850 .
2001-01-04 05:16:39 +00:00
Fred Drake
22e9a5eaec
Markup nit: OK and ERR should be marked \constant in running text.
2001-01-04 05:14:45 +00:00
Fred Drake
2a72712efe
Update documentation to include the new functions, and use the more
...
explicitly-named bisect_right() in the example code.
This closes SF bug #127055 .
2001-01-04 05:12:52 +00:00
Fred Drake
9c15fa7a0f
Description of long(): A string parameter is no longer required to be
...
*decimal*.
This closes SF bug #127273 .
2001-01-04 05:09:16 +00:00
Andrew M. Kuchling
be0630282e
Fix doubled word
2000-12-26 16:14:32 +00:00
Andrew M. Kuchling
8694cc42ab
Remove redundant reference to tab (since it = 'horizontal tab')
2000-12-26 16:09:37 +00:00
Andrew M. Kuchling
e6bf85845f
Document ERR and OK
2000-12-26 15:58:27 +00:00
Fred Drake
1dea760ca1
Make sure subsections are formatted into HTML pages with reasonable names.
2000-12-25 06:19:08 +00:00
Fred Drake
f08cbb1771
Added information on the ExternalEntityParserCreate() method.
2000-12-23 22:19:05 +00:00
Andrew M. Kuchling
5caee408b8
Add 'see also' link to curses.panel
2000-12-22 22:06:43 +00:00
Andrew M. Kuchling
676634beda
Added documentation for the panel wrapper module
2000-12-22 21:57:42 +00:00
Fred Drake
e412e7a3a0
Fix lots of small markup nits.
...
Wrapped some long lines.
2000-12-21 17:04:31 +00:00
Andrew M. Kuchling
68a6f5a0a2
Document the window.overlay() and .overwrite() methods
2000-12-21 16:25:44 +00:00
Guido van Rossum
5db5ba1ee3
Document the warnings module.
2000-12-19 06:01:23 +00:00
Guido van Rossum
1367b83797
Document warning categories.
2000-12-19 04:27:54 +00:00
Fred Drake
5b56765fe7
Added documentation on the ErrorHandler interface.
...
This closes bug #126034 .
2000-12-19 04:07:54 +00:00
Fred Drake
2b6d7bc151
Do not talk about "real" numbers; talk about "floats" or "floating point
...
numbers" instead; we have not described "reals" anywhere else in the
documentation, and this is not the place to change the story!
Reported by Keith Briggs <keith.briggs@bt.com>.
2000-12-18 13:50:24 +00:00
Neil Schemenauer
e9e860faf3
Add support for gdbm2 open flags ('s' and 'u'). Add module constant
...
open_flags which contains the flags supported by gdbm. Closes patch
#102802 .
2000-12-17 07:14:13 +00:00
Fred Drake
5100133685
urlretrieve() description included explanation of "data" parameter, but
...
did not include it in the signature.
Fixed some markup nits.
2000-12-15 23:57:51 +00:00
Fred Drake
065cba1281
Added documentation for random.shuffle().
2000-12-15 19:07:17 +00:00
Fred Drake
29c45a5e91
Grant Griffin <grant.griffin@honeywell.com>:
...
Clarify that invert() is a *bitwise* operation.
2000-12-15 05:41:49 +00:00
Andrew M. Kuchling
4fb588240f
Document napms()
...
Add reference to demo directory
2000-12-15 01:03:23 +00:00
Fred Drake
f0b315478b
Update information on the locking() function, added the needed constants.
...
(Thanks for the info, Tim!)
2000-12-14 03:11:24 +00:00
Fred Drake
48971198c5
Finish a sentence that was left half-written!
2000-12-13 22:36:02 +00:00
Moshe Zadka
dd802208a7
Changing allow_reuse_address's default value, and documenting it.
2000-12-13 20:39:22 +00:00
Fred Drake
24d6da3eae
Added "stub" documentation for xml.dom.pulldom for Paul to fill out with
...
useful explanations.
2000-12-13 19:34:38 +00:00
Fred Drake
bc9c1b15cc
Added descriptions of the defined exceptions and their mapping to the
...
DOM recommendation.
2000-12-13 17:38:02 +00:00
Guido van Rossum
ff63f2023d
"Documentation" for {}.popitem().
2000-12-12 22:03:47 +00:00
Fred Drake
ed911b8cfb
Added link to HTML version of the NumPy documentation.
...
This closes bug #124943 .
2000-12-11 20:57:13 +00:00
Fred Drake
5255c791cc
select.select(): Add note that though this function accepts empty lists,
...
using *only* empty lists may not be acceptable on all
platforms, with the specific caveat that it does not
work on Windows. Also clarified list of acceptable
objects that may be in the lists, to let the user know
that file objects are not usable here on Windows.
2000-12-11 15:50:07 +00:00
Fred Drake
9a29dd6580
Lots of small improvements and bits of added information on the DOM API.
2000-12-08 06:54:51 +00:00
Fred Drake
16942f2224
Lots of additional information. Not done, but much better.
2000-12-07 04:47:51 +00:00
Fred Drake
fd4d29cf5d
Typo caught by Jim Tittsler <jwt@onjapan.net>: They --> The
2000-12-07 00:03:24 +00:00
Fred Drake
b62966c175
Note that, as of Python 1.6, the .returns_unicode attribute on parser
...
objects can be modified at any point with the expected results.
2000-12-07 00:00:21 +00:00
Barry Warsaw
b6a54d2a2c
_getframe(): New sys module function for getting at the stack frame.
...
Implements and closes SF patch #102106 , with Guido's suggested
documentation changes.
2000-12-06 21:47:46 +00:00
Fred Drake
21e4dd0492
Two typos caught by /F; thanks!
2000-12-04 22:29:17 +00:00
Fred Drake
e119c8fc61
Added a comment for ContentHandler.characters() explaining how to migrate
...
SAX1 code to SAX2, based on bug #123695 .
2000-12-04 22:04:15 +00:00
Fred Drake
57657bce94
Update Moshe Zadka's email address to one works and might last a while.
2000-12-01 15:25:23 +00:00
Moshe Zadka
5725d1eb03
Backing out my changes.
...
Improved version coming soon to a Source Forge near you!
2000-11-30 19:30:21 +00:00
Moshe Zadka
1a62750eda
Added .first{item,value,key}() to dictionaries.
...
Complete with docos and tests.
OKed by Guido.
2000-11-30 12:31:03 +00:00
Fred Drake
c01f6e691b
Use a table to describe the keys to the locale information dictionary;
...
this is slightly easier to read than the list environment that had been
used.
2000-11-30 07:13:58 +00:00
Fred Drake
e0b9deb3ce
Use small tables instead of bare \item markers to describe the contents
...
of return tuples. The bare \item took advantage of an implementation
detail when formatting in LaTeX, and was just wrong when generating HTML.
It also broke the XML conversion scripts, since there was no enclosing
list-like environment to contain them.
2000-11-30 07:12:54 +00:00
Fred Drake
f65ab1bf10
Added entries reflecting the separation of the abstract DOM documentation
...
and the implementation docs for xml.dom.minidom.
2000-11-29 06:11:29 +00:00
Fred Drake
eaf57aa44a
Substantial re-organization of the DOM documentation. The abstract API
...
is now separated from the supplied standard implementation. Not all
interfaces are documented yet, but the structure is better set up to do
so.
There is still a lot to do here, but the shape of the documentation is
coming into line.
2000-11-29 06:10:22 +00:00
Fred Drake
83ff4af1a3
Added information on the use of Unicode with the StringIO and cStringIO
...
modules, otherwise the behavior is just plain confusing.
2000-11-28 16:24:28 +00:00
Fred Drake
6763b31731
Added brief explanation of the \versionchanged for 1.5.2 (fixes formatting
...
for the HTML version).
2000-11-28 06:39:28 +00:00
Fred Drake
2fef3abc74
Two minor nits.
2000-11-28 06:38:22 +00:00
Fred Drake
0ac000cd54
Updates to reflect pending changes to the XML conversion process.
2000-11-22 16:42:37 +00:00
Andrew M. Kuchling
620ec9d1ca
Document the new setupterm() function
2000-11-18 17:57:33 +00:00
Fred Drake
17383b9ad7
Added information about the %r string formatting conversion. Added note
...
about the interpretation of radix 0 for int(), and added description of
the optional radix argument for long(). Based on comments from Reuben
Sumner <rasumner@users.sourceforge.net>.
This closes bug #121672 .
2000-11-17 19:44:14 +00:00
Fred Drake
977fe96a05
Oops, back out change committed by accident! This is not ready, and
...
breaks things.
2000-11-17 19:09:34 +00:00
Fred Drake
2ed27d3189
Note that readframes() returns data in linear format, even if the original
...
is encoded in u-LAW format. Based on suggestion from Anthony Baxter
<anthony_baxter@users.sourceforge.net>.
This closes bug #122273 .
2000-11-17 19:05:12 +00:00
Fred Drake
d99e534de6
Fixed typos and bug in the second example, reported by Scott Schram
...
<schram@users.sourceforge.net>.
This closes bug #122236 .
2000-11-17 18:04:03 +00:00
Tim Peters
a3100de9ce
Fix for SF bug 122176: Error in rotor module documentation.
2000-11-14 21:43:01 +00:00
Andrew M. Kuchling
f16e0ed76c
Patch #102278 : add tparm() function to _curses module
2000-11-07 03:35:24 +00:00
Fred Drake
a776cea71a
Document the proper exception to be raised by I/O operations on closed
...
files; error reported by Ng Pheng Siong <ngps@post1.com>.
Make sure that various special object attributes are properly indexed.
2000-11-06 20:17:37 +00:00
Fred Drake
19647ca318
Typo: writeable --> writable
...
Reported by Erno Kuusela <erno@iki.fi>.
2000-11-01 03:12:34 +00:00
Fred Drake
efffe8e317
Many small markup revisions to be more consistent with markup elsewhere,
...
and to provide more consistent indexing.
Added an index entry.
Added documentation for the error and XMLParserType objects.
2000-10-29 05:10:30 +00:00
Fred Drake
3aecfc9681
Explained that os.path.basename() may return something different from the
...
basename program, as suggested by Gregor Hoffleit <gregor@hoffleit.de>.
This closes bug #119485 .
2000-10-26 21:38:23 +00:00
Fred Drake
53143bec9b
Since LookupError can be raised by sys.setdefaultencoding(), we should not
...
document it as only being a base class, not matter how unlikely this is
to affect normal users.
2000-10-25 21:05:29 +00:00
Fred Drake
1dba66cb72
Marc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method
...
was added in 2.0.
2000-10-25 21:03:55 +00:00
Fred Drake
8940fafabd
Additions from Marc-Andre Lemburg <mal@lemburg.com>, documenting
...
getdefaultencoding() and setdefaultencoding().
2000-10-25 21:02:55 +00:00
Fred Drake
1491cace2a
Several additions and updates based on text from Marc-Andre Lemburg
...
<mal@lemburg.com>.
Lots of markup reformatting to make it easier for me to read & maintain.
2000-10-25 20:59:52 +00:00
Fred Drake
277a21150b
Added entries for the xml.dom.minidom module.
2000-10-24 02:35:42 +00:00
Fred Drake
669d36f02c
Paul Prescod <paul@prescod.net>:
...
Documentation for the xml.dom.minidom module & Python DOM API.
FLD: I have revised the markup in some places and added a few minor
details to Paul's text, but that's it. Given the substantial
structural differences with the bulk of the presentation, I will be
making additional revisions over the next few days.
2000-10-24 02:34:45 +00:00
Fred Drake
246f65f2bb
Correct the name of a parameter in the description of the register()
...
function.
This closes bug #117467 .
2000-10-23 15:41:13 +00:00
Fred Drake
8c2fd49cc3
Added missing entry for invert() function.
...
Added table mapping abstract operations to syntax to functions, based on
a suggestion from Bob Weiner <weiner@beopen.com>.
2000-10-22 03:19:30 +00:00
Fred Drake
4a152630ca
Capitalize first letter of an explanation for a \versionchanged
...
annotation.
2000-10-19 05:33:46 +00:00
Andrew M. Kuchling
75afc0b914
Document the .lastindex and .lastgroup attributes of MatchObject
2000-10-18 23:08:13 +00:00
Fred Drake
ba0a989988
Make all the \seemodule explanations consistent: start with a capitalized
...
letter and end with proper punctuation. "Documenting Python" will be
updated accordingly so that this will be editorial policy for the Python
documentation.
2000-10-18 17:43:06 +00:00
Fred Drake
510dfbad3d
Capitalize & use periods for \seemodule explanation parameter.
2000-10-18 16:47:52 +00:00
Fred Drake
b4b401eda3
Update the links to the NumPy website and documentation, based on a
...
comment from Janko Hauser <jhauser@ifm.uni-kiel.de>.
2000-10-17 04:58:01 +00:00
Fred Drake
21c9df7641
For os.stat() & friends, note that the time fields are returned as
...
floating-point values.
2000-10-14 05:46:11 +00:00
Fred Drake
602aa77d2f
Marc-Andre Lemburg <mal@lemburg.com>:
...
Documentation for the codec base classes.
Lots of markup adjustments by FLD.
This closes SourceForge bug #115308 , patch #101877 .
2000-10-12 20:50:55 +00:00
Fred Drake
babe326c65
Added entries for new files of SAX documentation.
2000-10-12 20:07:09 +00:00
Fred Drake
014f0e3394
Massive addition of SAX documentation from Martin von Loewis
...
<loewis@informatik.hu-berlin.de>.
Reorganized to be more like other parts of the documentation in its
arrangement, but with few content changes.
This closes SourceForge patch #101850 .
2000-10-12 20:05:09 +00:00
Fred Drake
93615657ec
Document the exceptions that now get raised on invalid parameters.
2000-10-11 22:27:51 +00:00
Fred Drake
6fe9bacb8c
Make sure methods of ZipFile objects are in alphabetical order; the logical
...
groupings are still maintained. Based on a comment by Steve Holden
<sholden@holdenweb.com>.
2000-10-11 18:56:00 +00:00
Fred Drake
2c4f554b78
Fixed a large number of small problems, mostly noted by Detlef Lannert
...
<lannert@lannert.rz.uni-duesseldorf.de>.
2000-10-10 22:00:03 +00:00
Fred Drake
66c9f0781d
Note that the UserString/MutableString classes are far less efficient
...
than the built-in string types (suggested by Moshe Zadka
<moshez@math.huji.ac.il>).
Clarified what "can be converted to a string" means.
Fixed a few markup nits.
2000-10-10 20:58:48 +00:00
Fred Drake
ef52f601ed
Revise the examples not to use the "from socket import *", and adjust
...
one comment in the example for clarity.
2000-10-10 20:36:29 +00:00
Fred Drake
0fc6a67307
Remove duplicated text from urlopen() description, noted by Ka-Ping
...
Yee <ping@lfw.org> and probably others as well.
2000-10-10 20:23:10 +00:00
Fred Drake
3ece71327f
Make it clear that copy_reg.pickle() should not be used for classes, but
...
only for extension types.
This partially fixes SourceForge bug #116295 .
2000-10-10 18:36:02 +00:00
Fred Drake
f8ca7d88c6
Fixed lots of small nits caught by Ka-Ping Yee <ping@lfw.org>.
2000-10-10 17:03:45 +00:00
Fred Drake
2d34cd3ecf
Minor nit fixes based on suggestions from Ka-Ping Yee <ping@lfw.org>.
...
Added "See also" section with relevant RFC references.
2000-10-10 17:02:34 +00:00
Fred Drake
25407882ea
Better synopsis based on suggestion from Ka-Ping Yee <ping@lfw.org>.
2000-10-10 16:59:53 +00:00
Fred Drake
4d3714b5c6
Better synopses based on suggestions from Ka-Ping Yee <ping@lfw.org>.
2000-10-10 16:56:41 +00:00
Fred Drake
6ff7aec2ab
Move the documentation for the mutex module to be with the threading
...
and queue-management modules, since that is where the general context
for use in most cases.
2000-10-10 16:46:36 +00:00
Fred Drake
17a2b640e4
Work around annoyances in LaTeX2HTML.
2000-10-09 18:12:29 +00:00
Fred Drake
955e03bd68
Push xmllib to the end of the markup chapter since it is deprecated.
2000-10-09 18:11:24 +00:00
Fred Drake
3383792c74
Denis S. Otkidach <ods@users.sourceforge.net>:
...
Correct description of leapdays() function.
This closes SourceForge patch #101840 .
2000-10-09 15:27:31 +00:00
Fred Drake
c2bac8745d
Include more information from the docstrings.
2000-10-06 21:07:14 +00:00
Fred Drake
519744409b
Fix really bad typo, noted by Neil Schemenauer <nas@arctrix.com>.
2000-10-06 20:16:50 +00:00
Fred Drake
c6243e4e08
Add notes on the requirements for subclasses.
...
This closes SourceForge bug #115928 .
2000-10-06 20:04:48 +00:00
Fred Drake
2e06c209dc
Revise the versioning information to say that this was revised in 1.6,
...
not added then, and note what the change was (ncurses, change to a package).
2000-10-06 20:01:23 +00:00
Fred Drake
062ea2e70b
Made a number of revisions suggested by Fredrik Lundh.
...
Revised the first paragraph so it doesn't sound like it was written
when 7-bit strings were assumed; note that Unicode strings can be used.
2000-10-06 19:59:22 +00:00
Fred Drake
d88d0a1d5b
It turns out that Guido does not like or encourage the use of the term
...
"disciplines" for the __*__() methods, so they should be referred to as
"methods" or "special methods", as appropriate in context.
2000-10-06 19:39:47 +00:00
Fred Drake
5d63a39983
is_zipfile() description: Use the same name for the parameter as the
...
code, in case someone wants to use it as a keyword paramter.
ZIP_DEFLATED description: Do not reveal the specific value of the
constant, since code should only use the symbolic name.
2000-10-06 15:29:56 +00:00
Andrew M. Kuchling
9351dd2084
Document the lookbehind assertions (closing bug#115119)
2000-10-05 15:22:28 +00:00
Andrew M. Kuchling
7a90db6131
Document expand() method of MatchObjects
2000-10-05 12:35:29 +00:00
Neil Schemenauer
b2c2c9e977
- update Neil's email address
2000-10-04 16:34:09 +00:00
Fred Drake
15f06661c1
Added deprecation notices to atof(), atoi(), and atol(), recommending
...
use of the float(), int(), and long() built-ins instead.
Fixed minor markup nit elsewhere (use of \optional).
2000-10-04 13:59:52 +00:00
Fred Drake
c71c23e392
Added \versionchanged comment to os.popen() noting that it was unreliable
...
in earlier versions of Python; this is useful information for people
interested in writing code that is portable across Python versions.
Suggested by Peter Funk <pf@artcom-gmbh.de>.
2000-10-04 13:57:27 +00:00
Fred Drake
0b4e25d0c0
Use \obindex{...} instead of \indexii{...}{type} in many places; this is
...
more consistent with other index entries in the documentation.
2000-10-04 04:21:19 +00:00
Fred Drake
1319e3ecbc
Remove old note that os.popen() on Windows is unreliable; this is no
...
longer true.
2000-10-03 17:14:27 +00:00
Fred Drake
e35360ffd0
Jim Ahlstrom sent a few corrections to my changes. (Thanks!)
2000-10-03 15:16:31 +00:00
Fred Drake
58a2dff7f4
Replace minimal \seetext references with better annotated \seerfc
...
references, telling the reader more about what to expect at the other end
of the links.
2000-10-03 05:56:55 +00:00
Fred Drake
296b8f5bd2
Add deprecation note since the XML support is shaping up.
2000-10-02 22:14:09 +00:00
Fred Drake
427802470a
Substantially revised documentation for the zipfile module, partially based
...
on revised text from Jim Ahlstrom <jim@interet.com>.
This closes SourceForge bug #115681 .
2000-10-02 20:56:30 +00:00
Fred Drake
f6791f3d12
Minor usage fix.
...
Add a note that some way of reliably detecting the use of KDE would be
really nice.
2000-10-02 03:42:43 +00:00
Fred Drake
8d3312f4d1
Add documentation and warnings for the isCallable(), isMappingType(),
...
isNumberType(), and isSequenceType() functions.
This closes SourceForge bug #115789 .
2000-10-02 03:36:18 +00:00
Martin v. Löwis
d15a9427e8
Fixed spelling of module; closes bug 115712.
2000-09-30 17:04:40 +00:00
Fred Drake
58295dedf7
Replace to XXX notes to add references with real references.
2000-09-30 00:11:45 +00:00
Fred Drake
4ce4f2eedd
os.startfile() documentation, based on text from Tim Peters.
2000-09-29 04:15:19 +00:00
Fred Drake
8a9db99760
Updated documentation relating to the various flavors of popen[234]()
...
for Windows & Unix.
2000-09-28 20:27:51 +00:00
Fred Drake
44774c9429
Add regex and regsub to the list of undocumented obsolete modules.
2000-09-28 05:31:39 +00:00
Fred Drake
33dde92ecf
Update the documentation for ConfigParser to match the recent changes.
2000-09-27 22:48:44 +00:00
Fred Drake
7f577e7fd4
regex and regsub are obsolete and Evil, so don't include them in the club.
2000-09-25 18:26:21 +00:00
Fred Drake
e53793bf4c
Updates from Fredrik Lundh <effbot@telia.com> about Unicode-related
...
behavior.
2000-09-25 17:52:40 +00:00
Fred Drake
ef5781b8c8
Add obsolescence note to the module descriptions that get added to the
...
list of module synopses at the front of the chapter; based on a comment
from Aahz <aahz@panix.com>.
2000-09-25 17:23:04 +00:00
Fred Drake
d79c33a47b
Minor cleanups, wrap long lines.
2000-09-25 14:14:30 +00:00
Fred Drake
7be3115860
Added explanation of the use of the first program argument passed to the
...
exec*() family of functions.
2000-09-23 05:22:07 +00:00
Fred Drake
7fbc85c5c5
Rename the public interface from "pyexpat" to "xml.parsers.expat".
2000-09-23 04:47:56 +00:00
Fred Drake
c32741d1ab
Added warnings about platform vagaries to the strptime() documentation.
...
This closes SourceForge bug #115146 .
2000-09-23 04:36:14 +00:00
Neil Schemenauer
544de1effb
- Add DEBUG_SAVEALL option. When enabled all garbage objects found by the
...
collector will be saved in gc.garbage. This is useful for debugging a
program that creates reference cycles.
- Fix else statements in gcmodule.c to conform to Python coding standards.
2000-09-22 15:22:38 +00:00
Fred Drake
ed773ef78d
Include the new text on reporting bugs in a few useful places.
...
This closes SourceForge bug #114792 .
2000-09-21 21:35:22 +00:00
Fred Drake
1bf4e93180
Convert the longest two tables from tableii to longtableii so they do not
...
make too big a mess. One actually did not fit on a single page at all!
2000-09-21 16:04:08 +00:00
Fred Drake
fffe5dbc47
Fixed a number of small problems reported by Detlef Lannert
...
<lannert@uni-duesseldorf.de>.
2000-09-21 05:25:30 +00:00
Fred Drake
51f53df4c8
Clarify that the softspace attribute is used by print for state management,
...
not as a user-controlled parameter.
2000-09-20 04:48:20 +00:00
Fred Drake
f5aa4ef07c
Add entries for the xml.sax documentation.
2000-09-20 02:54:58 +00:00
Fred Drake
e10ef74bb8
First cut at documentation for the xml.sax package (not including any
...
sub-modules).
2000-09-20 02:52:20 +00:00
Fred Drake
752ba39a0b
Clarify a number of issues about the file-like object API based on
...
discussion on python-dev.
2000-09-19 15:18:51 +00:00
Fred Drake
480abc2751
Document the "printable" and "punctuation" constants added to the string
...
module.
2000-09-18 16:48:13 +00:00
Fred Drake
1675375a7c
Add missing \declaremodule for zipfile.
2000-09-18 16:21:11 +00:00
Tim Peters
1de8098ca6
Repaired some glitches in the MD5 and SHA docs; copied the descriptions of
...
the MD5 methods into the SHA docs (substituting "sha" for "md5", of course,
and changing the stuff that depended on digest size accordingly).
Fred, don't trust me!
2000-09-18 15:34:57 +00:00
Fred Drake
5316ef4bbb
Added documentation for new functions.
...
Deprecated sequenceIncludes().
Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>,
this closes SourceForge patch #101390 .
2000-09-17 16:10:25 +00:00
Fred Drake
6e1fecc28a
Update URL to unicode.org's FTP site using an HTTP URL to the same
...
document.
2000-09-16 13:46:42 +00:00
Fred Drake
315b9e0ac1
Update *both* uses of the URL to the zlib home page, and use the version
...
advertised as the canonical form.
2000-09-16 06:18:26 +00:00
Fred Drake
ab2f9f766f
Update link to the zlib homepage.
2000-09-16 05:07:03 +00:00
Fred Drake
f29107447a
Update the link to Andrew Kuchling's crypto code.
2000-09-16 05:02:24 +00:00
Fred Drake
91fc9319fa
Update link to the FIPS PUB 180-1 (PDF is available, but not PostScript).
2000-09-16 04:59:33 +00:00
Tim Peters
78fc0b57df
Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.
...
FRED, please check my monkey-see-monkey-do Tex fiddling!
2000-09-16 03:54:24 +00:00
Fred Drake
7c25f3df85
Add some comments on the available implementations that this module can
...
use.
Change the list of flag values for open() to a table.
Markup consistency nits.
2000-09-15 21:31:31 +00:00
Skip Montanaro
6634b14f3b
add cross reference to mimetools module
2000-09-15 18:20:20 +00:00
Fred Drake
6e5184fe6a
Update comments in the second paragraph, discussing versioning issues
...
related to the BSD DB library. Based on comments from Mark Summerfield
<summer@netcraft.com>.
2000-09-15 15:19:35 +00:00
Fred Drake
81c1735809
Add item to the list of limitations that points out the lack of support
...
for authenticated proxies. This is noted elsewhere, but this makes it
easier to find.
Fix typo where it was already mentioned.
This closes SourceForge bug #110619 .
2000-09-15 04:12:56 +00:00
Fred Drake
4dfad57235
Add a reference to the sha module, noting that SHA is considered more
...
secure. Suggested by Erno Kuusela <erno@iki.fi>.
2000-09-14 21:47:32 +00:00
Fred Drake
b9fd468ded
Convert "See also" section to use \seetitle.
2000-09-14 21:46:22 +00:00
Fred Drake
6ba0a3c30a
Denis S. Otkidach <ods@users.sourceforge.net>:
...
Minor fix in documentation of code module.
(Clarifies output destination for default implementation of the write()
method.)
2000-09-14 20:42:53 +00:00
Fred Drake
7a666b83c8
Remove reference to the stdwin-based windowed debugger, since stdwin
...
is gone.
Make a module reference into a hyperlink.
2000-09-14 20:32:17 +00:00
Fred Drake
d5d0435617
Use \shortversion in a number of places.
...
This partially addresses SourceForge bug #114318 .
2000-09-14 20:24:17 +00:00
Fred Drake
1fe3b82371
Avoid reference to specific versions of Python where possible.
...
This partially addresses SourceForge bug #114318 .
2000-09-14 18:25:41 +00:00
Fred Drake
66d32b1e12
Add some index entries to make it easier to find information on
...
%-formatting of strings.
2000-09-14 17:57:42 +00:00
Barry Warsaw
ddef8887db
Include a link to Francois's po-utils.
2000-09-13 12:04:47 +00:00
Fred Drake
ae86d43f11
Add a reference item pointing to the Namespaces in XML recommendation.
...
Convert the existing reference items to \seetitle markup.
2000-09-12 17:53:48 +00:00
Fred Drake
1349437e4c
When referring to namespaces, always say "namespaces" instead of
...
"name spaces".
Inconsistency noted by Keith Briggs <keith.briggs@bt.com>.
2000-09-12 16:23:48 +00:00
Fred Drake
88fa9627b1
Some updates and fix a bunch of really small consistency nits.
2000-09-11 05:23:25 +00:00
Fred Drake
1b194f927d
Add a reference to the material on string methods.
2000-09-09 05:34:06 +00:00
Fred Drake
f96e0d203b
Various clarifications and minor nits fixed. Affected descriptions of
...
input(), locals(), reload(), unicode(), and zip().
2000-09-09 03:33:42 +00:00
Fred Drake
1172a85175
Really minor consistency nit.
2000-09-09 03:31:17 +00:00
Fred Drake
66571cc20c
Improve a couple of references to the language reference, making them
...
hyperlinks to relevant sections.
Clarify the conditions under which the "softspace" attribute of file-like
objects can "just work" (with relation to overriding of attribute access
in user-defined classes).
2000-09-09 03:30:34 +00:00
Fred Drake
7acb21866c
Minor clarifications in the introductory paragraph.
2000-09-09 03:28:00 +00:00
Fred Drake
e544191397
Add \modulesynopsis for inclusion in the list of modules at the beginning
...
of the chapter.
Add explanation that this is only available when the cycle detector is
enabled at build time.
2000-09-09 03:26:51 +00:00
Fred Drake
1c4efad770
Move the "See also" section to a location more consistent with other
...
module sections. Properly mark the name of the module in the content
of the reference there.
2000-09-09 03:25:11 +00:00
Fred Drake
621d2bee1c
Move description of UserString.MutableString to a location more typical
...
of the arrangement of other modules.
2000-09-09 03:23:50 +00:00
Fred Drake
d0726c3cd9
\file is not allowed in section titles -- converting to PDF fails due to
...
weird macro-expansion issues. A better solution may be available in the
future, but this will do for now.
Add an index entry. More should probably be added as well.
2000-09-07 18:55:08 +00:00
Fred Drake
88c023b863
Remove comment about -X and string exceptions. Error noted by
...
Justin D. Pettit <jpettit@raznick.com>.
2000-09-07 16:33:32 +00:00
Fred Drake
6300bd42a4
Added note about Python version this was added for.
2000-09-07 14:01:40 +00:00
Fred Drake
77a6c9ece5
Minor markup nits around use of \optional.
2000-09-07 14:00:51 +00:00
Fred Drake
8b2e8f846c
Added a \versionadded statement to the getfqdn() description.
2000-09-06 02:22:16 +00:00
Fred Drake
8ff4cd7512
Minor markup revisions for consistency with the rest of the documentation.
2000-09-05 13:50:21 +00:00
Fred Drake
0d83f68fc9
Added entry for mmap module.
2000-09-05 13:49:30 +00:00
Barry Warsaw
21fbd540ed
Document the new optional argument "rest" on the transfercmd(),
...
ntransfercmd(), and retrbinary() commands. This closes SF patch
#101187 .
2000-09-01 06:32:32 +00:00
Fred Drake
65faf118b6
Fix markup error and minor consistency nit.
2000-08-31 19:35:56 +00:00
Jeremy Hylton
ee5adfbae6
add user-modifiable recursion_limit
...
ceval.c:
define recurion_limit (static), default value is 2500
define Py_GetRecursionLimit and Py_SetRecursionLimit
raise RuntimeError if limit is exceeded
PC/config.h:
remove plat-specific definition
sysmodule.c:
add sys.(get|set)recursionlimit
2000-08-31 19:23:01 +00:00
Fred Drake
aef0e890b5
Document the limitation that urllib does not work with proxies which
...
require authenication. This is an implementation limitation rather than
required behavior, and may be fixed in the future.
This closes SourceForge bug #111725 .
2000-08-31 17:23:35 +00:00
Fred Drake
4c3f797128
UNARY_NEG is supposed to be UNARY_NEGATIVE (spotted by Charles Waldman
...
<cgw@fnal.gov>).
Fix minor problem with EXTENDED_ARG description markup..
2000-08-31 16:26:35 +00:00
Sjoerd Mullender
1c8feae411
New method getnamespace.
...
Since the application never gets to see the namespace abbreviation
used in the XML document, but some applications may need to know them,
we provide this method.
2000-08-31 10:27:00 +00:00
Fred Drake
fcab76350a
Relocate the popen2 documentation since it is now substantially more
...
portable.
2000-08-31 06:09:26 +00:00
Skip Montanaro
7b828a6a56
doc changes to parallel changes to calendar.py module
2000-08-30 14:02:25 +00:00
Fred Drake
d576e9df5f
Markup revisions. Nothing was actually required to be able to format it,
...
but many conventions were broken.
2000-08-30 04:19:20 +00:00
Barry Warsaw
28b815f28a
Oops, spell MAL's name right.
2000-08-30 03:28:17 +00:00
Barry Warsaw
0691a6b8ed
Documentation for the gettext module.
2000-08-30 03:27:10 +00:00
Barry Warsaw
058365aec5
Added libgettext.tex
2000-08-30 03:26:17 +00:00
Moshe Zadka
a1a4b5916b
Closing patch #101120 -- After everyone agreed.
2000-08-25 21:47:56 +00:00
Fred Drake
0308ff8652
Add reference to RFC 2396 in "See also" section.
...
Minor cleanups.
2000-08-25 17:29:35 +00:00
Fred Drake
dfca4dc503
Revised documentation relevant to SourceForge patch #100837
...
(simplify making HTTP POST requests).
Added documentation of URLopener.version and how it can be overridden.
2000-08-25 05:13:42 +00:00
Andrew M. Kuchling
99a3701618
Documentation for poll() interface (SF patch #100852 )
2000-08-25 01:21:28 +00:00
Thomas Wouters
12bba852a9
Rough and incomplete documentation on augmented assignment, which follows
...
shortly. Markup also needs checking.
2000-08-24 20:06:04 +00:00
Guido van Rossum
3d0c77b37c
Addresses the other half of Bug #112634 -- the documentation suggested
...
that you can set self.version *after* calling the base class __init__.
In fact it must be done *before*.
(Fred, maybe the version class variable should be documented now?)
2000-08-24 16:20:32 +00:00
Fred Drake
45ca3331d9
Move references to RFCs to a "See also" section for consistency with
...
other sections of the library reference.
2000-08-24 04:58:25 +00:00
Fred Drake
9fa4d61bcc
Moshe Zadka <moshez@math.huji.ac.il>:
...
Documentation updates for urlretrieve() and URLopener.retrieve(), to
reflect Randall Hopper's patch for those functions.
This closes SourceForge patch #100837 .
2000-08-24 01:06:40 +00:00
Fred Drake
093272ea85
Charles G. Waldman <cgw@fnal.gov>:
...
Update the dis module documentation to reflect the EXTENDED_ARG opcode.
2000-08-24 00:37:50 +00:00
Skip Montanaro
297bf7ceb5
update commonprefix doc to make sure user is aware it works
...
character-by-character and that that behavior may result in it returning
prefixes that are not valid paths
2000-08-23 16:58:32 +00:00
Barry Warsaw
9087688581
Describe the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
2000-08-21 17:19:00 +00:00
Andrew M. Kuchling
120beb6b67
Strengthen the warning against using SerialCookie and SmartCookie.
...
(If they're security holes, should they be documented at all?)
Minor rewrites.
2000-08-20 23:33:50 +00:00
Fred Drake
15446d344d
Add entry for Cookie module.
2000-08-19 16:55:31 +00:00
Fred Drake
e5c7352201
Make it format.
...
Adjust markup for hyperlinking to the relevant RFCs.
Give it a little organization.
Minor nits.
2000-08-19 16:54:57 +00:00
Moshe Zadka
1b07f2bcf6
Initial revision. Markup unchecked.
2000-08-19 14:11:41 +00:00
Fred Drake
512bb72fb0
As pointed out by Denis S. Otkidach <den@analyt.chem.msu.ru>, xrange()
...
returns an xrange object, not a range object, despite the name of the
source file they're implemented in.
In the list of comparison operators, list != before <>, since <> is
described as obsolescent.
2000-08-18 03:12:38 +00:00
Fred Drake
304faf944c
Fix a markup error that caused formatting to fail.
...
Lots of minor markup adjustments as well.
2000-08-18 02:15:55 +00:00
Andrew M. Kuchling
0690c86a2a
Document the returns_unicode attribute
2000-08-17 23:15:21 +00:00
Thomas Wouters
5215225ea1
Apply SF patch #101135 , adding 'import module as m' and 'from module import
...
name as n'. By doing some twists and turns, "as" is not a reserved word.
There is a slight change in semantics for 'from module import name' (it will
now honour the 'global' keyword) but only in cases that are explicitly
undocumented.
2000-08-17 22:55:00 +00:00
Fred Drake
dd611b0070
A little more text, and some really minor cleanups.
2000-08-17 22:31:23 +00:00
Fred Drake
e581bb30c4
Small cleanups, and note when zip() entered the menagerie.
2000-08-17 22:30:30 +00:00
Fred Drake
b32aa5ecef
Revise the comments about the exceptions module to not refer to source
...
code; it is not sufficiently readable now that it in written in C, and
is less likely to be available to end users.
2000-08-17 22:29:31 +00:00
Fred Drake
25699f99f4
Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>:
...
Document opcodes added to support extended call syntax.
2000-08-17 22:19:26 +00:00
Fred Drake
5772c86816
Document socket.getfqdn().
2000-08-16 14:21:42 +00:00
Thomas Wouters
caa658d047
Apply SF patch #101151 , by Peter S-K, which fixes smtplib's passing of the
...
'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This
function should be moved to socket.py, if that module ever gets a Python
wrapper.
2000-08-15 19:30:36 +00:00
Fred Drake
d066f6d780
Fix markup bug that prevented formatting.
...
Adjusted some markup for consistency with the rest of the documentation
and creation of the proper index entries.
2000-08-15 17:47:09 +00:00
Barry Warsaw
0be4346da6
Describe the b2a_hex() and a2b_hex() functions (a.k.a. hexlify() and
...
unhexlify() respectively).
2000-08-15 06:08:00 +00:00
Barry Warsaw
4ef4be53ac
Added description of the md5.hexdigest() method.
2000-08-15 06:00:28 +00:00
Fred Drake
a2b6ad6e27
Guido pointed out that all names in the sys module have no underscore,
2000-08-15 04:24:43 +00:00
Fred Drake
68e2915fc7
Document the byte_order value in the sys module.
2000-08-14 15:47:30 +00:00
Fred Drake
107b9679c4
Document the range type, as suggested by Denis S. Otkidach
...
<den@analyt.chem.msu.ru>.
2000-08-14 15:37:59 +00:00
Fred Drake
4de96c2fd8
Added Marc-Andre Lemburg's documentation for string methods, with some
...
massaging for markup consistency. This closes SourceForge patch #101063 .
Added Unicode strings and buffer objects to the list of sequence types.
Small markup nits elsewhere.
2000-08-12 03:36:23 +00:00
Thomas Wouters
0be5aab04d
Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they
...
did the same anyway.
I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of
distutils, is it ? Should it try to be compatible with old bytecode version ?
2000-08-11 22:15:52 +00:00
Fred Drake
46479d3740
Some minor clarifications and added some index entries.
2000-08-11 20:34:27 +00:00
Fred Drake
3ac977e39c
O_BINARY: Documented this constant; omission noted by David Ascher.
...
access(): Corrected availability statement; error pointed out by
Tim Peters.
2000-08-11 20:19:51 +00:00
Fred Drake
a8e484c8f5
getopt(): revise description of long_options parameter slightly so it will
...
be less confusing; add a paragraph separation so that comments about
the options and long_options parameters don't have references that
are easily misinterpreted.
Adjust the interactive examples to not need the string module.
Add an example showing how the module is commonly used in a script.
2000-08-11 19:55:06 +00:00
Peter Schneider-Kamp
10e1bf2f64
remove all occurence of math.rint() from the sources
...
(and yes, "Currintly" also counts <0.5 wink>)
2000-08-10 04:23:30 +00:00
Eric S. Raymond
65983372f0
More on noutrefresh.
2000-08-09 21:49:31 +00:00
Eric S. Raymond
1ebd3f6c4b
Tweak curses.wrapper so it initializes colors if they are available.
2000-08-09 21:11:07 +00:00
Fred Drake
3fe9a98c95
Correct markup error.
2000-08-09 14:37:05 +00:00
Fred Drake
fc1f9229f4
Correct version number at which the curses.ascii module was introduced.
2000-08-09 14:36:11 +00:00
Fred Drake
ec4b2af6bb
Fix a few markup errors and lots of small consistency issues.
...
Add "See also" link to curses.wrapper module from curses module.
2000-08-09 14:34:48 +00:00
Guido van Rossum
8141cf5c76
Barry's patch to document the new setdefault() method. Slightly
...
clarified the summary for default() in the table to indicate the side
effect.
2000-08-08 16:15:49 +00:00
Vladimir Marangozov
f9d20c3786
Neil Schemenauer: GC enable(), disable(), isenabled() interface.
...
Small stylistic changes by VM:
- is_enabled() -> isenabled()
- static ... Py_<func> -> static ... gc_<func>
2000-08-06 22:45:31 +00:00
Eric S. Raymond
5a007693c1
Documented curses.wrapper and curses.textpad.
2000-08-04 07:35:41 +00:00
Fred Drake
ed13b4a5a6
Break the "Python Services" chapter into two: "Python Runtime Services"
...
(still at the start of the manual), and "Python Language Services" (late
in the manual). Moved "Restricted Execution" to just before "Python
Language Services."
2000-08-03 21:18:18 +00:00
Fred Drake
8b168ba505
int() description: Fix markup to avoid image generation for math mode.
...
zip() description: Fix broken markup, three small markup consistency nits,
and one really minor usage nit. Introduce use of \moreargs instead
of hardcoding "..." with \optional.
2000-08-03 17:29:13 +00:00
Barry Warsaw
faefa2a885
Both PEP 201 Lockstep Iteration and SF patch #101030 have been
...
accepted by the BDFL.
Added documentation for zip() builtin.
2000-08-03 15:46:17 +00:00
Fred Drake
6c7a46a2f0
Rob Hooft <rob@hooft.net>:
...
Description of fcntl(): Added description of what can go wrong.
2000-08-02 20:53:51 +00:00
Mark Hammond
21a4764b9a
As requested by Fred - mention that in the future a winreg module may make a comeback.
2000-08-01 23:49:50 +00:00
Peter Schneider-Kamp
f917bf6080
fixing a minor spelling mistake
2000-08-01 00:07:17 +00:00
Fred Drake
fbd3b45bb7
Stop lying about [].pop() being experimental! There is no backing it out
...
at this point.
2000-07-31 23:42:23 +00:00
Peter Schneider-Kamp
5a65c2d436
added count, extend, index, pop and remove to arraymodule
2000-07-31 20:52:21 +00:00
Fred Drake
1e75e1776f
Two minor nits from Gerry Weiner (no working email address) about
...
describing the methods of dictionaries.
2000-07-31 16:34:46 +00:00
Fred Drake
578a3f9638
Moshe Zadka <mzadka@geocities.com>:
...
Document new method in shutil (copyfileobj).
Minor clarification by Fred.
2000-07-31 15:45:46 +00:00
Fred Drake
10853c9835
Finally fixed the much-reported bug about "~" in a couple of example.
...
This time, it was reported by Skip.
2000-07-28 13:51:27 +00:00
Eric S. Raymond
b924bd4610
Second round of curses documentation improvements. Completes and extends
...
documentation for function keys, special characters.
2000-07-27 21:10:02 +00:00
Andrew M. Kuchling
1962fb59f3
Document tiget{flag,num,str}
2000-07-26 02:59:13 +00:00
Fred Drake
e1b304db37
Fix small typos and markup consistency nits.
2000-07-24 19:35:52 +00:00
Eric S. Raymond
6899660a81
First round of curses documentation improvements; correct errors, flesh out
...
entry point descriptions.
2000-07-24 03:28:40 +00:00
Skip Montanaro
d372521ec0
added doc for isatty()
2000-07-19 17:30:58 +00:00
Skip Montanaro
7cb1524586
added documentation for new functions {get,set}_history_length
2000-07-19 16:56:26 +00:00
Thomas Wouters
f8316638af
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
...
SourceForge doesn't choke on this batch :-)
I'm not entirely sure this is 100% correct. The patch changes an
\index{persistency} to \index{presistence}, and I don't know what \index{}
does. But it seems to do so persi--er, consistently, so I hope it isn't a
problem.
2000-07-16 19:01:10 +00:00
Eric S. Raymond
f868de6491
Document the second round of ConfigParser changes.
2000-07-14 15:00:02 +00:00
Andrew M. Kuchling
8d2f2b2db2
From Sam Rushing's Medusa, via SF patch #100858 : add & document
...
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
2000-07-13 01:26:58 +00:00
Fred Drake
bdcf91fda0
Documentation for the gc module. Text from Neil Schemenauer
...
<nascheme@enme.ucalgary.ca>, markup & minor revisions from Fred
Drake.
2000-07-12 04:22:53 +00:00
Eric S. Raymond
7ae3a5e79d
Resynchronize the TeX docs with (a) the module docstring, and (b) my recent
...
fix to the code to make it behave like the module docstring.
2000-07-12 02:56:15 +00:00
Fred Drake
acab3d61e9
Change the table in the pyexpat.errors module to a series of datadesc
...
elements (since the table was pretty screwed up); this is how it is done
elsewhere in the manual.
I could use some help creating descriptions of the specific error
identifiers (input conditions that lead to each error, etc.).
2000-07-11 16:30:30 +00:00
Eric S. Raymond
417c489def
Give ConfigParser the capability to set as well as read options, and to write
...
a representation of the configuration state in .ini format that can be read
back in by a future read() call. Thus this class is now a back end
for .ini editors as well as parsers.
This patch is complete and tested, but exposes a bug in the ConfigParser
implementation which I have not yet fixed. Because case information is
discarded during parsing, the output of write() has its case smashed.
I wrote this for a SourceForge interface script called forgetool.
Documentation for the new entry points included.
2000-07-10 18:11:00 +00:00
Fred Drake
146b28086f
Minor revisions similar to some information in the new docstrings.
2000-07-08 16:59:03 +00:00
Fred Drake
c826ecbf8f
Add an entry for the KDE File Manager support from Peter Funk.
2000-07-07 17:08:40 +00:00
Fred Drake
e4dbb86ab8
New module webbrowser. Easy-to-use controller objects to make using a
...
Web browser as a help/information browser easy across platforms.
2000-07-07 03:36:12 +00:00
Fred Drake
aa7524cf1f
Clean up markup to be more like recommended practice; only small changes
...
needed.
2000-07-06 18:37:08 +00:00
Fred Drake
29fa30ea6b
Correct a markup nit that caused a space to be dropped from the HTML
...
version (actually a LaTeX2HTML bug), and clarified a sentence in the
mktime() description based entirely on comments from Grant Griffin
<grant.griffin@honeywell.com>.
2000-07-06 18:09:02 +00:00
Fred Drake
3c62d9e656
Several small changes, mostly to the markup, to improve consistency and
...
internal hyperlinking. Move some things around, also for consistency
with other modules ("See also" stuff tends to live at the \section level,
before sub-sections, etc.).
2000-07-06 04:51:04 +00:00
Fred Drake
14ea85f325
Add entry for readline documentation.
2000-07-06 04:47:25 +00:00
Fred Drake
011028cf74
Sjoerd Mullender <sjoerd@oratrix.nl>:
...
Updates for recent changes in xmllib.
2000-07-06 04:45:14 +00:00
Fred Drake
d14423abe2
Correct typo in description of the machine name parameter to the
...
ConnectRegistry() function; there is no trailing period!
2000-07-06 04:38:37 +00:00
Skip Montanaro
63099f911f
added seealso pointing reader at readline example which uses atexit.
2000-07-06 03:26:39 +00:00
Skip Montanaro
510ca1d338
simple-minded readline section doc based upon module's doc strings.
2000-07-06 03:25:26 +00:00
Skip Montanaro
0915165096
added warning about incompatibility with other codes' use of sys.exitfunc.
2000-07-05 23:11:26 +00:00
Fred Drake
b5316188ee
Created a new chapter on structured markup processing, including the
...
existing SGML, HTML, & XML support, and providing a home for the new
XML support as it becomes documented.
2000-07-05 02:24:39 +00:00
Fred Drake
c05cbb0527
Wrapped some long lines.
...
Cleaned up the table of error constants defined in pyexpat.errors; an
extra pair of braces had pretty much destroyed the table! (Not sure why.)
Moved the pyexpat.errors module documentation into a \section with the
proper headers for a module.
2000-07-05 02:03:34 +00:00
Fred Drake
25e7cee1c8
get_starttag_text(): Document this method.
2000-07-03 14:32:04 +00:00
Fred Drake
52dc76c81f
Eric S. Raymond <esr@thyrsus.com>:
...
This patch implements relative-path semantics for the "source" facility resembling
those of cpp(1), documents the change, and improves the shlex test main to
make it easier to test this feature. Along the way, it fixes a name error
in the existing docs.
[Additional documentation markup changes for consistency by FLD.]
2000-07-03 09:56:23 +00:00
Fred Drake
353aaadd9b
Moshe Zadka <moshez@math.huji.ac.il>:
...
Substantial updates to reflect Moshe's Gordon's enhancements to the
module.
Additional changes from Fred to reflect his changes to the module as well.
2000-07-03 08:24:49 +00:00
Fred Drake
fcc95a4d04
Tim-blessed documentation for math.frexp().
2000-07-03 06:38:17 +00:00
Fred Drake
c3a65982a3
others --> other's (possessive)
...
Usage error noted by Grant Griffin <grant.griffin@iowegian.com>.
2000-07-01 17:47:38 +00:00
Fred Drake
506a7a87ff
Send a "ARTICLE" --> Send an "ARTICLE"
...
Usage error noted by Grant Griffin <grant.griffin@iowegian.com>.
2000-07-01 17:43:19 +00:00
Fred Drake
30f76ffd00
Update version numbering from 1.6 to 2.0.
2000-06-30 16:06:19 +00:00
Fred Drake
f0e88980f3
Document randrange().
2000-06-30 15:32:31 +00:00
Fred Drake
57a2f7f8ef
Change description of altzone to not refer to the "0th meridian".
2000-06-30 04:24:52 +00:00
Fred Drake
9a748aa832
Say "manual page", not "man page", when referring to the Unix manual.
2000-06-30 04:21:41 +00:00
Fred Drake
abbc7344a4
Make sure to note that this module was added for Python 2.0!
2000-06-30 03:50:06 +00:00
Fred Drake
6e71cdd9f1
Reflect the name change to _winreg; we still need documentation for the
...
new winreg module.
2000-06-30 03:45:40 +00:00
Andrew M. Kuchling
efc43d4478
Document recently-added mouse-related functions
2000-06-30 01:05:39 +00:00
Fred Drake
8aa3bd9098
Make it clear that id() can return either a long integer or a plain integer.
2000-06-29 03:46:46 +00:00
Fred Drake
5c529d3f3e
Add a "See also:" link to the curses.ascii module.
2000-06-28 22:11:40 +00:00
Fred Drake
589f44b9d0
Made the title of the Examples subsection plural!
2000-06-28 22:09:20 +00:00
Fred Drake
be93a8332e
Added note that the atexit module was added for Python 1.6.
2000-06-28 22:07:55 +00:00
Fred Drake
6f2a5efec9
Added entry for the curses.ascii module.
2000-06-28 22:05:44 +00:00
Fred Drake
5ccd4b2a54
Added entries for the curses.ascii module.
2000-06-28 22:03:29 +00:00
Fred Drake
4e716fa0ac
Skip Montanaro <skip@mojam.com>:
...
Added an example of using an HTTP POST request.
2000-06-28 21:51:43 +00:00
Fred Drake
c82634c13c
Thomas Wouters <thomas@xs4all.net>:
...
Documentation updates related to the addition of openpty() and forkpty().
2000-06-28 17:27:48 +00:00
Fred Drake
c19425d520
Added the atexit module and documentation from Skip Montanaro
...
<skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added
an index entry and a reference from the sys.exitfunc documentation.
This closes SourceForge patch #100620 .
2000-06-28 15:07:31 +00:00
Andrew M. Kuchling
af5b76677f
Changed obsolete e-mail alias
2000-06-27 03:16:04 +00:00
Andrew M. Kuchling
f57d7b9e30
Dcoumentation for ascii.py. I've changed two references from ascii to
...
curses.ascii.
2000-06-26 23:59:24 +00:00
Andrew M. Kuchling
a4ca07cc8c
Minor grammatical fix
2000-06-21 01:48:46 +00:00
Andrew M. Kuchling
d24ff44f06
Document .timeout() method and .typeahead() function
2000-06-21 01:42:51 +00:00
Andrew M. Kuchling
0adfb45b9a
Make changes and clarifications suggested by Mark Hammond
2000-06-18 04:17:38 +00:00
Andrew M. Kuchling
b8050697b8
Documentation for the mmap module: proofreaders welcomed
2000-06-17 22:39:05 +00:00
Fred Drake
9e759dfc31
Michael Hudson <mwh21@cam.ac.uk>:
...
This patch corrects a little glitch and two outright errors.
(Including one reported earlier by Thomas Wouters.)
2000-06-15 18:44:30 +00:00
Fred Drake
fb79ffae4d
Hook in the documentation for the unicodedata module.
2000-06-13 20:51:29 +00:00
Fred Drake
28b294459d
Marc-Andre Lemburg <mal@lemburg.com>:
...
Documentation for the unicodedata module (massaged by Fred for minor
consistency issues).
2000-06-13 20:50:50 +00:00
Andrew M. Kuchling
6b14eebae6
Documentation for the pyexpat module.
2000-06-11 02:42:07 +00:00
Fred Drake
d1a65ff40b
Added preliminary documentation for the winreg module,
...
by Mark Hammond <markh@activestate.com>.
Limited markup & consistency revisions by FLD.
2000-06-07 04:07:48 +00:00
Fred Drake
6c16019136
Fixed typo noted by Guido Kollerie <gkoller@cs.vu.nl> in example code.
2000-05-30 14:39:45 +00:00
Fred Drake
b80a777859
Added documentation for gettempprefix().
...
Deprecated direct access to template.
Added note about past need to modify template so that legacy code has a
better chance of being understood, noting that the requirement to reset
template after os.fork() disappeared in 1.5.2.
2000-05-26 19:32:14 +00:00
Fred Drake
0233075fce
Added documentation for TemporaryFile() and the siffix parameter to mktemp().
...
Removed obsolete comments about this module not creating or removing actual
files.
Removed obsolete comment about users needing to set template to None after
calling os.fork().
2000-05-26 19:05:16 +00:00
Fred Drake
99d707af47
Piers Lauder <piers@cs.su.oz.au>:
...
I've added an extra comment about quoting arguments to
IMAP4 commands. Also changed the command descriptions
to show optional extra commands where appropriate.
Fred Drake:
Added example usage for the search() method based on comments from
<Lucas.DeJonge@awtpl.com.au>; elaborated error handling information
when arguments are missing from search() and uid().
2000-05-26 04:08:37 +00:00
Andrew M. Kuchling
f1dc5fa2c8
Updated docs to list all the new methods and functions. The docs are
...
now complete, but probably still not very helpful or friendly.
Note: two very large tables (of key names, and of character names) were
added; these tables format terribly, and need some reworking.
2000-05-23 16:46:04 +00:00
Fred Drake
7cb42cd070
From Greg Ward <gward@python.net>:
...
Typo: "dictionairy" --> "dictionary" (twice).
2000-05-23 02:28:26 +00:00
Fred Drake
8c5cedee69
New description for math.frexp() -- poor description noted by
...
Francois Pinard.
2000-05-18 05:07:38 +00:00
Guido van Rossum
c9a5f343bc
The addition of rint() (by Peter Schneider-Kamp; I forgot to mention
...
that before) in the previous patch has one problem; rint() is not in
the C math library on all platforms (e.g. not for VC++). Make it
conditional on HAVE_RINT.
2000-05-11 18:42:27 +00:00
Guido van Rossum
71260b846e
Added math.rint() -- round according to current IEEE754 mode
2000-05-11 18:19:42 +00:00
Fred Drake
625d70a7a6
Fix references to the built-in compile() that don't include the
...
filename parameter. Noted by Randall Hopper <aa8vb@yahoo.com>.
2000-05-09 17:10:23 +00:00
Fred Drake
35784dff6a
Skip Montanaro <skip@mojam.com>:
...
The intent is that this diff adds a link to the rfc822 module doc and
an index reference to this module under the rfc822 heading.
Fred, based on a suggestion from Grant Griffin <grant.griffin@honeywell.com>:
Added link to the MIME FAQ, so people can more easily get more
information about the subject of the module.
2000-05-09 16:23:23 +00:00
Fred Drake
d85f05940e
read() method: clarify that strings are accepted and interpreted
...
reasonably.
readfp() method: added documentation.
2000-05-09 15:06:32 +00:00
Fred Drake
3d69c0e440
Someone found the examples of poor practice on socket addresses!
...
Spotted by Greg Kochanski <gpk@bell-labs.com>.
2000-05-03 19:40:32 +00:00
Fred Drake
ae08853fb0
Clarify status of connection of a new instance; it *is* connected if
...
you pass server information to the constructor. Error noted by Pedro
Diaz Jimenez <diazjimenez@ctv.es>.
2000-05-03 15:11:47 +00:00
Fred Drake
e06d025e00
Use \versionchanged to indicate when the second parameter to utime()
...
was allowed to be None.
2000-05-02 17:29:35 +00:00
Guido van Rossum
d67ddbbec1
Eric Raymond:
...
(1) Added and documented the capability for shlex to handle
lexical-level inclusion and a stack of input sources. Also, the input
stream member is now documented, and the constructor takes an optional
source-filename. The class provides facilities to generate error
messages that track file and line number.
(2) Add a convenience function to generate C-compiler style error
leaders.
2000-05-01 20:14:47 +00:00
Barry Warsaw
93a8eacde5
Document the new additional signature for utime(). In addition to the
...
previous functionality utime(path, (atime, mtime)), now allowed is
utime(path, None) which sets the file's times to the current time.
2000-05-01 16:18:22 +00:00
Fred Drake
40ee7acb95
\file and \filenq should not be used in section titles; they are not
...
sufficiently robust to survive the creation of bookmarks in the PDF
format.
2000-04-28 18:17:23 +00:00
Fred Drake
ac308d0a6f
Added a "See also:" section that exhibits the \seerfc markup.
2000-04-26 18:20:04 +00:00
Fred Drake
cebda6f5f0
Added documentation for WindowsError; omission noted by Michal Bozon
...
<bozon@natur.cuni.cz>.
(Mark Hammond, other Python/Windows cognoscenti: please check this!)
2000-04-17 17:42:00 +00:00
Fred Drake
9cf7587fdc
Update change to version_info structure.
2000-04-13 17:51:58 +00:00
Fred Drake
4d65d73686
Document hexversion (incompletely explained) and version_info (easily
...
explained).
2000-04-13 16:54:17 +00:00
Fred Drake
ee775a194c
Make use of \longprogramopt where appropriate.
2000-04-11 19:46:40 +00:00
Fred Drake
0682be4524
letters:
...
Fix description; lowercase and uppercase are strings, not
functions! Noted by Randall Hopper <aa8vb@yahoo.com>.
maketrans():
Minor markup nits in description.
2000-04-10 18:35:49 +00:00
Fred Drake
9164f88657
Fix Skip's email address in his attribution! (Thanks, Skip!)
2000-04-08 04:53:29 +00:00
Fred Drake
c2c46c3751
New example from Skip Montanaro <skip@mojam.com>.
2000-04-07 16:09:59 +00:00
Fred Drake
69ca950d1f
Make sure the \declaremodule uses the right name for the module!
...
Clean up several markup problems & inconsistencies.
2000-04-06 16:09:59 +00:00
Fred Drake
343301aaa4
unichr(),
...
unicode(): Added \versionadded{} annotations.
2000-04-06 15:06:03 +00:00
Fred Drake
0b72116812
Marc-Andre Lemburg <mal@lemburg.com>:
...
Added UnicodeType.
2000-04-06 15:05:04 +00:00
Fred Drake
56ced2a7e4
Marc-Andre Lemburg <mal@lemburg.com>:
...
Added note that Unicode strings are picklable.
2000-04-06 15:04:30 +00:00
Fred Drake
5828ad6963
Revised / removed comments about string exceptions (relating to the
...
standard exceptions), added documentation of UnboundLocalError.
2000-04-06 15:03:01 +00:00
Fred Drake
3cb793e8e8
Marc-Andre Lemburg <mal@lemburg.com>:
...
Added UnicodeError description.
2000-04-06 14:48:35 +00:00
Fred Drake
61098f201e
Marc-Andre Lemburg <mal@lemburg.com>:
...
Add Unicode strings to the list of marshalable types.
2000-04-06 14:47:20 +00:00
Fred Drake
665dd704a3
Note the exception raised when parameter to chr() is out of range.
2000-04-06 14:45:19 +00:00
Fred Drake
33d51841a3
Marc-Andre Lemburg <mal@lemburg.com>:
...
Documentation for unichr(), unicode(), update for ord().
2000-04-06 14:43:12 +00:00
Fred Drake
98f8a3d8da
Added codecs entry here as part of String Services.
2000-04-06 14:25:28 +00:00
Fred Drake
b7979c756c
Marc-Andre Lemburg <mal@lemburg.com>:
...
codecs module documentation, with some preliminary markup
adjustments from FLD.
2000-04-06 14:21:58 +00:00
Fred Drake
6d5c6bdb25
Removed bogus connect() call in SMTP example; reported by Travis
...
B. Hartwell <slt5v@cc.usu.edu>.
Removed second copy of the "See also" section!
2000-04-05 22:12:06 +00:00
Fred Drake
71b04dab58
Added reference to the multifile module from the "See also" section
...
in the mimetools documentation.
Suggested by Skip Montanaro <skip@mojam.com>.
2000-04-05 22:05:15 +00:00
Fred Drake
d1a56f4235
Noted by Guido:
...
Fixed up descriptions of altzone and timezone not to refer to the
0th meridian, which doesn't exist. Reference is now to UTC.
2000-04-05 15:06:03 +00:00
Fred Drake
898915d7e2
Noted by Guido:
...
Directionality of up/down were confused.
2000-04-05 15:01:36 +00:00
Fred Drake
43b89b637f
Noted by Guido:
...
Note in the "Caveats" section should refer to the exit() function, not
exit_thread().
2000-04-05 15:00:38 +00:00
Fred Drake
12ed36525a
Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>
...
(re-written).
2000-04-04 20:43:50 +00:00
Fred Drake
005f494a7f
Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>.
2000-04-04 20:42:38 +00:00
Fred Drake
7d68690d8d
Added notes about the eventual disappearance of two-parameter bind(),
...
connect(), and connect_ex().
I didn't make these deprecation notices since it was never a
documented feature.
2000-04-04 17:48:30 +00:00
Fred Drake
38e5d27cae
Merged changes from the 1.5.2p2 release.
...
(Very rough.)
2000-04-03 20:13:55 +00:00
Fred Drake
6a0d844e76
UserString section:
...
Small cleanups noted by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
Make the spelling of Unicode always uppercase.
2000-04-03 15:02:35 +00:00
Fred Drake
a22b576d05
UserString class from Peter Funk <pf@artcom-gmbh.de>.
2000-04-03 03:51:50 +00:00
Fred Drake
3c9f936eee
Two new sections. Preliminary.
2000-03-31 17:51:10 +00:00
Fred Drake
15861b2a41
Update portability information for the spawn*() functions and related
...
constants. Someone will need to fill in information on the spawn*()
functions that aren't listed.
2000-02-29 05:19:38 +00:00
Fred Drake
0baf773c44
Added entry for libtabnanny.tex.
2000-02-23 15:44:58 +00:00
Fred Drake
155348be33
Initial version from Peter Funk <pf@artcom-gmbh.de>, with minor
...
consistency changes and a note that the API may change in the future.
2000-02-23 15:44:08 +00:00
Fred Drake
1e862e8a37
Update the description of int() to include the radix parameter;
...
omission noted on c.l.py by Aahz Maruch.
Swapped the order of the descriptions of int() and intern() so that
int() comes first (the functions are in alphabetic order).
2000-02-17 17:45:52 +00:00
Guido van Rossum
8006d316bc
Added docs for new crc32() function. By Jim Ahlstrom.
...
(Fred, please check.)
2000-02-16 21:13:37 +00:00
Barry Warsaw
41d84631ba
Document the API changes to the nntplib module (exceptions become
...
classes, NNTP.__init__() grows a new optional argument to set reader
mode on the server).
2000-02-10 20:26:45 +00:00
Fred Drake
2bb43a20ce
The dircmp module is now obsolete.
2000-02-03 15:27:26 +00:00
Fred Drake
76e6da38c0
Document GetoptError and label error an alias.
1999-12-21 22:50:05 +00:00
Fred Drake
b9bdfc6a23
Document 1.5.2+ aspects of the NotANumber exception. (Note that this
...
is in the development branch, not the maintenance branch!)
1999-12-21 18:45:16 +00:00
Fred Drake
89ab163479
Document that the |mode| parameter to open() is optional and explain how
...
the default value is determined.
1999-12-21 18:31:30 +00:00
Fred Drake
88f6ca2ce9
Document getgroups(), getlogin(), fpathconf(), pathconf(),
...
pathconf_names, confstr(), confstr_names, sysconf(), sysconf_names.
1999-12-15 19:39:04 +00:00
Fred Drake
d16b5abc07
Markup consistency nits that Guido didn't check. ;-)
1999-12-13 23:34:42 +00:00
Guido van Rossum
5f7a28cdf8
Doc update from Piers Lauder see changes for imaplib.py version 2.16.
1999-12-13 23:29:39 +00:00
Fred Drake
18f7a45324
Document the new stuff in the os module.
1999-12-09 22:11:43 +00:00
Fred Drake
d4d4ba3fd2
Update link to PythonWare library page.
1999-12-01 18:44:09 +00:00
Fred Drake
7424242c1c
Removed last XXX comment; no further action needed on this one.
1999-11-17 16:09:57 +00:00
Fred Drake
55e93964e6
Preliminary documentation for turtle module (Tk), by Moshe Zadka.
...
Fixed up a few TeXisms and markup nits, but otherwise unchanged.
Somewhat raw.
1999-11-15 17:03:41 +00:00
Fred Drake
37f1574f2e
Use \citetitle and \programopt as appropriate.
1999-11-10 16:21:37 +00:00
Fred Drake
ebe0341109
Use \citetitle instead of \emph.
1999-11-09 20:11:17 +00:00
Fred Drake
356d0ceb7e
Use \citetitle in one place.
1999-11-09 20:10:01 +00:00
Fred Drake
268df27c9a
Use the new markup as apporpriate.
1999-11-09 19:45:59 +00:00
Fred Drake
6e9ea59a43
Use \programopt in one place.
1999-11-09 19:44:44 +00:00
Fred Drake
d290c10890
Use \programopt in one place.
1999-11-09 18:03:00 +00:00
Fred Drake
6cf186b867
pathes --> paths; typo reported by Gerry Wiener <gerry@ucar.edu>.
1999-10-29 17:51:29 +00:00
Fred Drake
47a27b6640
Make references to new filecmp module hyperlinks now that there's
...
documentation.
1999-10-29 17:25:59 +00:00
Fred Drake
adf2dbfced
Added section for filecmp.
1999-10-29 17:24:12 +00:00
Fred Drake
c7b5b3c998
filecmp documentation from Moshe Zadka <moshez@math.huji.ac.il>.
1999-10-29 17:23:15 +00:00
Fred Drake
7eaf6828cb
Added deprecation notes, in case anyone decides to read these anyway.
1999-10-26 16:31:51 +00:00
Fred Drake
143db4b041
cmp and cmpcache are now obsolete, so don't include their
...
documentation sections.
1999-10-26 16:28:04 +00:00
Fred Drake
a8052a3113
Added cmp and cmpcache to the "Obsolete" section.
1999-10-26 16:27:28 +00:00
Fred Drake
714fd26a2f
Documented Beep() function.
1999-10-22 21:08:56 +00:00
Fred Drake
39d4a0237a
Fixed typo in explanation of abspath(); noticed by Paul Prescod
...
<paul@prescod.net>.
1999-10-18 14:10:06 +00:00
Fred Drake
933d5a7c6e
os.name: Note that 'java' is one of the registered names.
1999-09-17 14:38:39 +00:00
Fred Drake
e6fb1c4bd3
Added documentation for inet_aton() and inet_ntoa(), from Ben
...
Gertzfield <che@debian.org> (with minor changes).
(Should have been here instead of in the branch in the first place,
since these weren't in for the 1.5.2 release.)
1999-09-16 15:50:00 +00:00
Fred Drake
244ad3ca15
Name the parameter to expr() and suite() "source" instead of "string".
1999-09-09 14:16:36 +00:00
Guido van Rossum
e7f19200e8
Doco update from Sjoerd Mullender.
1999-08-26 15:57:44 +00:00
Fred Drake
b68a125d64
Added additional index entries.
...
Minor markup nits.
1999-08-24 20:16:29 +00:00
Fred Drake
76dd228f52
whrandom should come immediately after random, not before.
1999-08-23 20:12:11 +00:00
Fred Drake
7eba1d8bbe
Tell what the result objects are (based on comment from the list).
1999-08-19 17:00:38 +00:00
Guido van Rossum
b3fc9d148d
Added disclaimer to the sleep() function.
1999-08-19 14:42:54 +00:00
Fred Drake
31e5e37196
Explain the possible range of values for the pid parameter to
...
waitpid().
1999-08-13 13:36:33 +00:00
Fred Drake
68921dfa31
In note mentioning [].remove()'s exception, tell what exception is
...
raised. Prompted by Barry's whining. ;-0
1999-08-09 17:05:12 +00:00
Fred Drake
d3fbdfd007
Add index entries for open():
...
buffer size, I/O
I/O control, buffering
line-buffered I/O
unbuffered I/O
1999-08-05 13:43:08 +00:00
Fred Drake
8c9fc00f8d
Add index entry "I/O control, buffering" for fdopen().
1999-08-05 13:41:31 +00:00
Fred Drake
a94f6762bc
Add index entry "I/O control, buffering" for makefile().
1999-08-05 13:41:04 +00:00
Guido van Rossum
068bdb181d
Change the directory tree walking example to use clearer variable
...
names, some suggested by Joe Ellsworth.
1999-08-03 21:52:29 +00:00
Fred Drake
c71b802c47
Markup nits.
...
Adjust examples to use the object interface instead of the function
interface.
1999-08-02 14:30:52 +00:00
Fred Drake
ce201128b0
Fixed hyperlink references to the __builtin__ and __main__ modules;
...
error reported by Dale Nagata <DNagata@creo.com>.
1999-08-02 14:13:09 +00:00
Fred Drake
8d21243c3e
Added description of optional parameter to UserDict constructor.
...
Omission reported by Barry Warsaw.
1999-07-26 15:45:52 +00:00
Fred Drake
de5d5ce7bc
Update getattr() description to document the optional third
...
parameter. Thanks to Barry Warsaw for pointing out the oversight.
1999-07-22 19:21:45 +00:00
Fred Drake
5d48e458e4
typo: privide --> provide
...
Reported by Nadim Ghaznavi <nadim@ghaznavi.com>.
1999-07-20 13:21:42 +00:00
Fred Drake
6db897c52c
Move chdir() and getcwd() descriptions to "Files and Directories" with
...
a pointer from the "Process Parameters" section. Based on comments
from Aahz Maruch, Tim Peters, and GvR.
1999-07-12 16:49:30 +00:00
Fred Drake
3a4ceb707d
Several methods return tuples, not lists.
1999-07-07 14:04:38 +00:00
Fred Drake
363d67c2e6
Move some misc. comments from the example section to the main section.
...
Use the lowercase versions of the method names in the example, since
that's what's documented (Greg Stein's suggestion). Add a blank line
after the import line for clarity.
1999-07-07 13:42:56 +00:00
Fred Drake
1508970a47
dir() method description revised based on comments from Greg Stein.
1999-07-07 13:36:22 +00:00
Fred Drake
6166b871a2
Missing space; reported by Robert Kern <kernr@ncifcrf.gov>.
1999-07-06 21:00:18 +00:00
Fred Drake
d5dfe984e7
Fix a number of minor problems pointed out by /F.
1999-07-06 15:50:23 +00:00
Fred Drake
0d6e6e0b39
Fixed typo reported by /F; thanks!
1999-07-06 15:43:55 +00:00
Fred Drake
82ac24ffb0
Minor markup nit.
1999-07-02 14:29:14 +00:00
Fred Drake
0452007dcc
Added entry for asyncore module.
1999-07-02 14:27:03 +00:00
Fred Drake
41796918af
Fix a few markup nits, improve some index entries.
1999-07-02 14:25:37 +00:00
Fred Drake
7d80779532
New documentation from Chris Petrilli <petrilli@amber.org>.
1999-07-02 14:25:03 +00:00
Fred Drake
227020894a
For spawn*(), point to the magic constants; some readers have a hard
...
time finding the bindings.
1999-07-02 14:01:03 +00:00
Fred Drake
e4694eba0f
Removed entries for several modules which have been documented.
...
Updated comments on several remaining modules.
1999-07-01 20:42:57 +00:00
Fred Drake
4c8d83f311
Documentation for dl module from Moshe.
1999-07-01 20:40:21 +00:00
Fred Drake
44a7a7c5d0
Added entry for dl module.
1999-07-01 20:39:59 +00:00
Fred Drake
85b5683307
Remove extraneous "contains" -- pointed out by Daniel Barclay
...
<danielb@digitalfocus.com>.
Added credit to Martin von Loewis for creating the module and
documentation.
1999-07-01 16:31:03 +00:00
Fred Drake
859dc53a52
Per Frank Stajano's suggestion, state explicitly that the functions
...
described in the sub-sections are directly available at the module
level. He found this confusing.
1999-07-01 13:54:40 +00:00
Fred Drake
b216060627
Make the reference to the os module in the module synopsis (for the
...
table at the front of the chapter) a hyperlink.
1999-07-01 13:53:32 +00:00
Fred Drake
3d0971e33e
For "Matching vs. Searching", remove comment that the section is
...
incomplete; I don't remember what else I thought I was going to put
in, but it looks o.k. to me know.
1999-06-29 21:21:19 +00:00
Fred Drake
6bf37debb9
Added some minor prose before the descriptions of the data attributes
...
to make it clear that these are instance attributes, not module data.
1999-06-29 18:13:37 +00:00
Fred Drake
abc64b74c8
Added entry for pty module.
1999-06-29 18:12:22 +00:00
Fred Drake
a4b5d58790
pty documentation from Moshe; with small edits.
1999-06-29 18:11:22 +00:00
Fred Drake
31d10cbe26
Improve description of the example.
1999-06-29 17:08:41 +00:00
Fred Drake
f5213c2a3d
Usage nit: a bunch of "nor"s should have been a single "or".
...
Make reference to the copy_reg module a hyperlink.
1999-06-29 16:02:12 +00:00
Fred Drake
8ad2703bfb
Minor wording change in section title.
1999-06-29 16:00:22 +00:00
Fred Drake
ac00c4c1c6
byteswap() method: Tell *what* exception gets raised when the type
...
cannot be byteswapped.
1999-06-29 15:58:00 +00:00
Fred Drake
9118f7cfc4
Remove unnecessary comma.
1999-06-29 15:53:52 +00:00
Fred Drake
9e0b6229f6
Comment out XXX comment; this needn't appear in the formatted
...
versions. XXX comments only need to be grep-able.
1999-06-29 15:45:09 +00:00
Fred Drake
ef1a029d4c
Add note about not being able to use this module with modules not
...
implemented in Python.
1999-06-29 15:43:02 +00:00
Fred Drake
4886c66daf
Moshe: Remove extraneous "and".
1999-06-29 14:57:12 +00:00
Fred Drake
e4d78189e8
Added entries for mutex and nis modules.
1999-06-27 15:02:37 +00:00
Fred Drake
7fefba5c13
NIS documentation from Moshe.
1999-06-27 15:01:08 +00:00
Fred Drake
2231357aa6
Mutex documentation from Moshe.
1999-06-27 15:00:41 +00:00
Fred Drake
7a65a26f81
Separate documentation of SUNAUDIODEV from sunaudiodev; this mirrors
...
similar constructs elsewhere (al/AL, gl/GL/DEVICE).
1999-06-27 14:53:11 +00:00
Fred Drake
14ae4b48fb
Fix some typos.
...
Add an index entry.
1999-06-25 19:13:36 +00:00
Fred Drake
c4e3bf9b5e
Add entries for the sched module.
1999-06-25 18:54:30 +00:00
Fred Drake
7e990323b4
Moshe's section on the sched module, with edits.
1999-06-25 18:52:44 +00:00
Fred Drake
60b66e1f7b
Update to Sjoerd's documentation of the chunk module, with some
...
additions from Moshe's version. Used my table for describing the
chunk format, and added some markup and index entries.
1999-06-25 17:52:17 +00:00
Guido van Rossum
cf6905f986
Clarify the example by explicitly importing the fcntl module -- this
...
avoid being fooled into thinking that fcntl and FCNTL are the same
thing -- they aren't! (fcntl is the extension, FCNTL.py is h2py
output that defines all the constants).
(XXX The example is still weird -- I think there's a more portable way
to do locking now. That's for someone else to fix...)
1999-06-24 17:58:44 +00:00
Fred Drake
7c2426439e
Removed tty module entry.
1999-06-23 17:31:59 +00:00
Fred Drake
1b2dc9045e
Add entries for tty module.
1999-06-23 17:29:02 +00:00
Fred Drake
0bccd73be0
Updates from Moshe, again edited by me. Describe the parameters to
...
border() using a table instead of text for ease of comprehension.
1999-06-23 17:28:01 +00:00
Fred Drake
92f3f41424
Added "See Also" section for termios module.
1999-06-23 15:12:09 +00:00
Fred Drake
ae4d5c23f5
Various updates.
1999-06-23 14:56:13 +00:00
Fred Drake
66239d5530
tty module documentation from Moshe, with some editing and an added
...
"See also" section.
1999-06-23 14:30:19 +00:00
Fred Drake
af81a509c3
Added more sections...
1999-06-23 13:34:22 +00:00
Fred Drake
b742a42bc0
Two more from Moshe!
1999-06-23 13:33:40 +00:00
Fred Drake
707f8e67b9
Added entry for the chunk module.
1999-06-22 18:50:06 +00:00
Fred Drake
97793ab6b9
New section from Moshe Zadka, modified by FLD for markup, some
...
additional content.
1999-06-22 18:49:20 +00:00
Fred Drake
0f871dc39e
Added some "See also" references to htmllib docs.
...
Documented htmlentitydefs.
1999-06-21 21:20:56 +00:00
Fred Drake
2cd31dc3ea
Added entry for curses module.
1999-06-21 21:14:30 +00:00
Fred Drake
a4070cef5e
Preliminary documentation for the curses module by Moshe Zadka, with
...
lots of markup fixes and some English nits fixed.
Still needs real review. Some of the function signatures used in this
module are really bad! (Two leading optional parameters? Ugh!)
1999-06-21 21:13:09 +00:00
Fred Drake
d5d55ea02e
Fix a markup error.
1999-06-21 18:36:09 +00:00
Fred Drake
4755e7d5c1
Three more modules documented by Moshe!
1999-06-21 18:25:49 +00:00
Fred Drake
6f49e0a154
Added a few minor comments, mostly to discourage documentation of
...
really old modules that may become obsolete.
1999-06-18 19:58:59 +00:00
Fred Drake
a88ef00a50
Further clarfication of the system-dependence of the system() return
...
value, based on comments from Tim Peters.
1999-06-18 19:11:25 +00:00
Fred Drake
46e1a32edf
Re-categorize the dump module as obsolete.
1999-06-18 17:12:15 +00:00
Fred Drake
354e98222c
fpformat has been documented for at least a week now!
1999-06-18 15:21:25 +00:00
Fred Drake
26921da2c9
Small markup & usage adjustments.
1999-06-17 18:58:02 +00:00
Fred Drake
e019789962
Correction: the parameters of new.instance() are type-checked.
...
Edited several of the descriptions for English usage and more
consistent style.
1999-06-17 18:15:07 +00:00
Fred Drake
de69ae1753
Updated version from Moshe, with a re-written warning about the
...
side-effect of cmpcache.cmp() using statcache.stat() internally.
1999-06-17 17:40:52 +00:00
Fred Drake
173ba5e3bc
Minor markup nits.
1999-06-17 17:09:23 +00:00
Fred Drake
97c2fa03e5
Small English usage nits.
1999-06-17 16:38:18 +00:00
Fred Drake
7487c02209
Small markup and English usage nits.
1999-06-17 16:10:39 +00:00
Fred Drake
26da2840ac
Add/remove entries due to additional sections from Moshe.
1999-06-17 15:12:16 +00:00
Fred Drake
64bc94e3ec
New module documentation sections from Moshe Zadka <moshez@math.huji.ac.il>!
1999-06-17 15:11:35 +00:00
Fred Drake
e55702b024
Added note to __not__() description that this operation is defined
...
only by the interpreter core and is not overridable by objects.
Based on comment from David Ascher on the list.
1999-06-15 20:56:40 +00:00
Fred Drake
1e4402998f
Several new index entries to make find this easier.
...
Noted that name=value is allowed in addition to name: value.
1999-06-15 17:30:59 +00:00
Fred Drake
c46864e982
Misc. changes related to the new sections.
1999-06-14 19:49:50 +00:00
Fred Drake
21572fdcb6
New sections from Moshe Zadka <moshez@math.huji.ac.il>.
...
These document CGIHTTPServer, SimpleHTTPServer, and linecache.
1999-06-14 19:47:47 +00:00
Fred Drake
7df4dd7de2
Add entry for the fpformat module.
1999-06-11 18:36:42 +00:00
Fred Drake
1739d2f9ee
Documentation for the fpformat module by Moshe Zadka
...
<mzadka@geocities.com>.
1999-06-11 18:31:00 +00:00
Fred Drake
2f9790195b
Added 'ce' to the list of "registered" values for os.name.
...
Make references to the posix module hyperlinks.
1999-06-11 18:28:37 +00:00
Fred Drake
9c5cc14d23
Some clarifications on operations for mapping types, based on comments
...
from Gerry Weiner <gerry@ucar.edu>.
1999-06-10 22:37:34 +00:00
Fred Drake
697c779d98
Adjust indexing for __import__(); based on comments by Stefan Franke
...
<sfranke@cdc-group.com>.
1999-06-10 22:09:20 +00:00
Fred Drake
28b1770521
Improve index entry for "import"; responding to comments by Stefan
...
Franke <sfranke@cdc-group.com>.
1999-06-10 22:08:16 +00:00
Fred Drake
06a73f042a
Work around latex2html problem; reported by Gerrit Holl
...
<gerrit.holl@pobox.com>.
1999-06-10 21:23:31 +00:00
Fred Drake
4d5c87ba11
Declare the "util" module obsolete.
1999-06-10 21:17:11 +00:00
Fred Drake
7a62128722
At David Ascher's request, clarify that os.system() always returns 0
...
on Win95 & Win98.
1999-06-10 15:07:05 +00:00
Fred Drake
ae0f292576
Fix typo reported by Robert Kern <kernr@ncifcrf.gov>.
1999-06-10 15:03:07 +00:00
Guido van Rossum
66ab4e8af2
Patch by Jim Fulton to document the new parse_qls().
1999-06-10 03:11:41 +00:00
Guido van Rossum
4727456d46
Add doc for timegm().
1999-06-09 15:11:58 +00:00
Fred Drake
5fac2ab220
Fix availability clause; mention availability of similar functionality
...
for Windows using win32pipe.
1999-06-01 17:55:52 +00:00
Fred Drake
3aa70d63b9
Document the "pid" attribute of the Popen3 class.
...
Use memberdesc instead of datadesc to document object attributes.
This gets the index right.
1999-05-27 17:50:59 +00:00
Fred Drake
a7ce52b03a
Typo reported by Gerry Wiener <wiener@rap.ucar.edu>:
...
items -> item
The returned list will then have one more items than the number of
non-overlapping occurrences of the separator in the string.
1999-05-27 17:18:08 +00:00
Fred Drake
abc8cc63ce
Move some \index entries around so we can avoid using empty comments;
...
empty comments trigger a bug in LaTeX2HTML.
Problem reported by Gerry Wiener <gerry@ucar.edu>.
1999-05-26 16:15:17 +00:00
Fred Drake
82f355a36a
Change the example of configuring for large file support under Solaris
...
to use `getconf LFS_CFLAGS`. Steve Clift (the author of the section
and large file support) agrees that this is the right thing to do.
1999-05-26 13:03:34 +00:00
Fred Drake
6b330ba857
"proces" --> "process"; reported by Gerry Wiener <gerry@ucar.edu>.
...
Added some index entries.
1999-05-25 13:42:26 +00:00
Fred Drake
338da93734
SET_LINE_NO ==> SET_LINENO
...
Reported by Corran Webster <cwebster@math.tamu.edu>.
1999-05-17 20:57:07 +00:00
Fred Drake
33378da964
Added paragraph explaininng the text/binary flavors of some methods,
...
to make it easier for people to find what they're looking for.
1999-05-17 16:35:15 +00:00
Fred Drake
dbc2d08ff5
POP3.uidl(): Update description based on comments from Piers Lauder
...
<piers@cs.su.oz.au>.
1999-05-13 18:48:14 +00:00
Fred Drake
7088df4c56
Removed old comments.
1999-05-13 16:20:30 +00:00
Fred Drake
03c05a5192
Move the "See also:" section so it appears are part of the top HTML
...
page of the section.
1999-05-11 15:15:54 +00:00
Fred Drake
184e8360e8
Added module references; minor grammatical fixes.
...
All suggested by Eric Raymond.
1999-05-11 15:14:15 +00:00
Fred Drake
9ade7e0110
Added missing comma, reported by Eric Raymond.
1999-05-11 13:45:37 +00:00
Fred Drake
b0bc7f2d6c
Updated connect_ex() documentation based on comments in the newgroup
...
(M.-A. Lemburg and GvR).
1999-05-06 22:03:50 +00:00
Fred Drake
1ea7c75687
Reflect recent patch for float % and divmod() by Tim Peters. Content
...
updates by Tim Peters, markup by FLD.
1999-05-06 14:46:35 +00:00
Fred Drake
673c65e500
Use the new module-key for the FL module when hyperlinking (the old
...
one caused problems on case-insensitive file systems).
1999-04-29 18:42:18 +00:00
Fred Drake
d03e9e34de
Don't point readers to rand, point to random! And make it a hyperlink
...
while you're at it.
Also, when discussing order of reading, make it clear that chapter 2
is assumed background material for the remainder of the manual.
That's needed for terminology if nothing else!
1999-04-29 13:41:17 +00:00
Fred Drake
0e1de8bd6b
Minor nits, partly in response to comments from Jonathan Black
...
<jblack@Ridgeway-Sys.com>.
1999-04-29 12:57:32 +00:00
Fred Drake
5f342ac2a7
Always use "section" when referring to sections of a document, not "Section".
1999-04-29 02:47:40 +00:00
Fred Drake
c0fcbc1ac6
Update starship URLs.
1999-04-29 02:30:04 +00:00
Fred Drake
ea0020571f
Use \rfc to mark some remaining RFC references.
...
Remove comment about full name bug in getaddrlist(); this has been
fixed for a while now.
Work around LaTeX2HTML space-dropping bug.
Mention that the fp attribute can be used to read the message body.
1999-04-28 18:11:09 +00:00
Fred Drake
505c49199a
Added "See also" reference to PyOpenGL.
1999-04-27 18:05:06 +00:00
Fred Drake
dcf17f3860
mhlib is now documented.
1999-04-23 22:24:12 +00:00
Fred Drake
a4966647ec
Markup consistency.
1999-04-23 22:22:27 +00:00
Fred Drake
1c7cd63a2b
Nits.
1999-04-23 22:03:00 +00:00
Fred Drake
957ac3fadb
Add section for the sha module.
1999-04-23 21:52:18 +00:00
Fred Drake
154fc6dcf7
Patch from Greg Ward adding descriptions of S_IMODE() and S_IFMT(),
...
and an explanation of why any of stat.S_*() would be used instead of
os.path.is*(). (With some really small enhancements by me.)
1999-04-23 20:54:57 +00:00
Fred Drake
24aca83dbd
Fixed typo and font-control problem reported by Detlef Lannert
...
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:33:59 +00:00
Fred Drake
29cf682b71
Clarifications on the first(), next(), and previous() functions, based
...
on comments from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:32:59 +00:00
Fred Drake
861192120b
Fix a grammatical error reported by Detlef Lannert
...
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:07:02 +00:00
Fred Drake
16214fb017
Fix a couple of grammatical errors reported by Detlef Lannert
...
<lannert@lannert.rz.uni-duesseldorf.de>.
1999-04-23 20:00:53 +00:00
Fred Drake
4aa4f30759
Work-around LaTeX2HTML space-dropping bug.
1999-04-23 17:30:40 +00:00
Fred Drake
87b8f318b0
Fixed some logical markup nits.
...
Added a pointer to Grail in the see-also section, since it's used as
an example.
1999-04-23 17:26:24 +00:00
Fred Drake
deb7e096d3
Logical markup.
1999-04-23 17:11:53 +00:00
Fred Drake
806764bee4
No, __repr__() does not accept a parameter other than self.
1999-04-23 17:03:21 +00:00
Fred Drake
0fbec55e23
Shorten the section title.
...
Adjust markup to be a little more consistent with the rest of the
document.
1999-04-23 16:44:53 +00:00
Fred Drake
eea97ea063
Shorten the section title.
1999-04-23 16:07:38 +00:00
Fred Drake
86bd5e48c3
Shorten the section title.
...
Fix a couple of grammatical errors.
1999-04-23 16:02:30 +00:00
Fred Drake
7475e04fad
Work around a space-dropping problem in LaTeX2HTML.
...
Clarify the usage of a parameter.
1999-04-23 15:57:23 +00:00
Fred Drake
ae35aa8b63
Added "See also" sections linking to binascii.
1999-04-23 15:52:18 +00:00
Fred Drake
ee4d54ea33
Refer to the binhex module, not the non-existent hexbin module.
...
Added a "See also" section.
1999-04-23 15:42:36 +00:00
Fred Drake
26f7cfe9c7
Fix some glaring markup consistency problems (presentation was
...
broken).
Added a "See also" section.
1999-04-23 15:41:53 +00:00
Fred Drake
812860e81d
Hack places where '--' should appear as literal output but the -- was
...
(properly) converted to - by LaTeX2HTML.
1999-04-23 14:46:18 +00:00
Fred Drake
ffbe68723a
Make internal module references hyperlinks wherever it makes sense.
1999-04-22 21:23:22 +00:00
Fred Drake
7b8b125fa6
Remove bogus characters in code sample.
1999-04-22 21:19:53 +00:00
Fred Drake
fcf94d4edd
Work around LaTeX2HTML comment-handling bug.
1999-04-22 20:55:59 +00:00
Fred Drake
4a406c619b
Shorten the section title.
1999-04-22 20:52:44 +00:00
Fred Drake
c8c40ff699
Added a "See also" section with some external references.
1999-04-22 20:16:02 +00:00
Fred Drake
4e28c593ad
Markup nits.
...
Make module references hyperlinks.
1999-04-22 18:25:47 +00:00
Fred Drake
b7168c3a07
Clean up lots of mark up.
1999-04-22 17:53:37 +00:00
Fred Drake
79936fe73f
Added descriptions of the various exceptions, based on the docstrings.
...
Various small cleanups.
1999-04-22 17:23:34 +00:00
Fred Drake
c8993aad10
Logical markup and small nits.
...
Don't refer to the STDWIN chapter; chances are really good it wasn't
included. ;-)
1999-04-22 16:50:40 +00:00
Fred Drake
12a956921f
Make some module references hyperlinks.
1999-04-22 16:47:27 +00:00
Fred Drake
b774550ba5
Minor logical markup nits.
...
Make some module references hyperlinks.
1999-04-22 16:46:18 +00:00
Fred Drake
dd6c6d9b0a
Clean up some mark up.
1999-04-22 16:45:26 +00:00
Fred Drake
e2effbd32d
Fix minor (English) usage nits.
1999-04-22 16:21:09 +00:00
Fred Drake
bcd5454d63
Reference to urllib module can be a hyperlink.
1999-04-22 16:17:45 +00:00
Fred Drake
4429772ea3
Fix dropped space in the HTML output.
1999-04-22 16:15:34 +00:00
Fred Drake
babdda53d5
Make reference to the socket module a hyperlink.
1999-04-22 16:03:30 +00:00
Fred Drake
bf0f4346af
Shorten the section title.
1999-04-22 15:53:35 +00:00
Fred Drake
47894d2858
Don't describe this module as being a popen() wrapper; that's a little
...
confusing. This is clearly Unix-specific; label it as such.
1999-04-22 15:19:01 +00:00
Fred Drake
a694e00085
Remove \platform declaration; this module is generic.
1999-04-22 15:14:11 +00:00
Fred Drake
5254a6d682
Move stat to the Generic chapter.
1999-04-22 15:01:44 +00:00
Fred Drake
ca69a03dd6
Don't refer to the system documentation as "man pages"; too
...
Unix-centric. Note that this can be used with the output of
os.fstat() as well as os.stat() and os.lstat().
1999-04-22 14:55:43 +00:00
Fred Drake
2ea30f4d8c
Add warning that last() and previous() don't work for hashtable
...
databases (opened using hashopen()), as noted by Skip Montanaro on
comp.lang.python.
1999-04-22 14:06:36 +00:00
Fred Drake
b9f1f6d90b
Misc. markup nits.
...
All sections get reasonable file names in the HTML output.
1999-04-21 21:43:17 +00:00
Fred Drake
2dabd811cd
Fix markup typo.
1999-04-21 21:33:24 +00:00
Fred Drake
d146edfaf1
Mark the "Notes:" sections under tables the same way it's done
...
elsewhere in the library reference.
1999-04-21 21:15:35 +00:00
Fred Drake
b11d108cdc
The version information here was checked good in 1999, not 199. ;-)
...
Added "See also" reference to zlib home page, even though it's
mentioned in the text.
1999-04-21 18:44:41 +00:00
Fred Drake
2799f9d09a
Reflow paragraph to work around LaTeX2HTML dropping a space.
...
Make all references to the os module hyperlinks.
1999-04-21 18:33:47 +00:00
Fred Drake
6d20caa2ce
Reflow paragraph to work around LaTeX2HTML dropping a space.
1999-04-21 18:17:11 +00:00
Fred Drake
543e19d923
Small nits, more hyperlinks.
...
Added more information for cStringIO.
1999-04-21 18:15:22 +00:00
Fred Drake
048b75bd9a
Make references to whrandom hyperlinks.
1999-04-21 18:14:22 +00:00
Fred Drake
ec6baaf618
Small markup nits.
1999-04-21 18:13:31 +00:00
Fred Drake
54f2fdd1ad
Make the names of the referenced modules hyperlinks; they had not been
...
marked at all.
1999-04-21 18:10:08 +00:00
Fred Drake
02e8c0fd2d
Nits. Reference to signal module becomes a hyperlink.
1999-04-21 18:01:14 +00:00
Fred Drake
283c588402
Work around LaTeX2HTML comment-handling bug.
1999-04-21 17:57:15 +00:00
Fred Drake
318c0b131f
Logical markup nits.
...
Make references to other modules hyperlinks.
1999-04-21 17:29:14 +00:00
Fred Drake
c3845a14d3
Logical markup & other small nits.
1999-04-21 17:18:04 +00:00
Fred Drake
11bc8cfee3
Explain *why* the copytree() implementation is presented as the
...
example!
1999-04-21 17:08:51 +00:00
Fred Drake
e688aec707
Textual references to the glob module can be hyperlinks.
1999-04-21 17:04:43 +00:00
Fred Drake
737aa552f4
Markup nit to fixed dropped space in HTML output.
1999-04-21 17:01:15 +00:00
Fred Drake
4747f7f61d
Markup nits.
1999-04-21 16:41:40 +00:00
Fred Drake
4f6e4fbc1d
Added "See also" reference to xdrlib.
...
Markup nits.
1999-04-21 16:38:53 +00:00
Fred Drake
69fa56327a
Markup nits.
1999-04-21 16:29:57 +00:00
Fred Drake
8307e21a2a
Mark the references to module names use \module or \refmodule (the
...
closing paragraph used \code).
1999-04-21 16:29:18 +00:00
Guido van Rossum
6ed122a334
Important fix mentioned by The Dragon De Monsyne: the sendmail()
...
method does _not_ disconnect the connection when it throws a
SMTPHeloError!
1999-04-21 16:19:16 +00:00
Fred Drake
a889add5d6
Oops; minor nit in example: none of the other interactive examples
...
show the "trailing" prompt, so don't show it here!
1999-04-21 16:00:24 +00:00
Fred Drake
3d815bd1c7
Added link to xdrlib module in "See also" section.
1999-04-21 15:57:29 +00:00
Fred Drake
c3fcd6fa0e
Added index entry for "file objects"; this is appearantly referenced
...
somewhere in the Reference Manual, and someone tried to locate it via
the index. Report on the omission by Stefan Franke
<sfranke@cdc-group.com>.
1999-04-21 13:58:17 +00:00
Fred Drake
7ceb5777d7
Added doc for the "module" attribute on the class descriptor objects;
...
omission repoorted by Glyn Webster <glyn@ninz.org.nz>.
1999-04-20 18:18:53 +00:00
Fred Drake
ad56dafd62
Added example use of pack_list() to help explain the pack_item
...
parameter. Lack of clarity reported by Matthew Gallagher
<hew@hons.cs.usyd.edu.au>.
1999-04-20 13:41:14 +00:00
Fred Drake
4ae52694c9
Updated to reflect additions.
1999-04-19 21:21:28 +00:00
Fred Drake
32c562bdec
colorsys docs from David Ascher.
1999-04-19 21:20:13 +00:00
Fred Drake
9d15881744
bsddb docs from Skip Montanaro; added interesting links.
1999-04-19 21:19:21 +00:00
Fred Drake
e9af64c373
Remove superfluous index entry for posix.popen(); no longer
...
appropriate since popen() is only documented in os.
1999-04-16 19:00:48 +00:00
Fred Drake
dac9a4e3db
Added link to Fredrik Lundh's online Tkinter reference material.
1999-04-16 18:26:22 +00:00
Fred Drake
31bfbc6bff
Minor nits, include author info.
1999-04-16 14:03:32 +00:00
Fred Drake
0ebd5483be
Removed dbhash from the undocumented list.
1999-04-15 16:05:29 +00:00
Fred Drake
666255f5ac
Document the dbhash module, and link to it from appropriate places.
1999-04-15 15:11:40 +00:00
Fred Drake
f4cbada3f9
Correct documentation for <file>.read(); Python makes a serious
...
best-effort to return 'size' bytes. Point out that this may mean
multiple fread() calls. Reported by Anders Hammarquist
<iko@iko.pp.se> via the Debian crew.
1999-04-14 14:31:53 +00:00
Fred Drake
e331356ff7
Fix availability declaration for popen2 module; report by Barry Scott
...
<barry@scottb.demon.co.uk>.
1999-04-13 22:03:26 +00:00
Fred Drake
b9971b9964
Minor cleanup.
1999-04-13 21:39:31 +00:00
Fred Drake
592dd78408
Fix availability declaration for stat module; report by Barry Scott
...
<barry@scottb.demon.co.uk>.
1999-04-13 21:38:02 +00:00
Fred Drake
31ec33ed60
Work around problems with HTML conversion by making the break and
...
tbreak synopses be all on one line (each). Known problem, most
recently reported by Barry Scott <barry@scottb.demon.co.uk>.
1999-04-13 21:36:44 +00:00
Fred Drake
bfb092eb86
Misspellling: "occurance" --> "occurrence"
1999-04-09 19:57:09 +00:00
Guido van Rossum
7969f31c4d
Updated documentation by Per Cederqvist. I've added back the
...
documentation sendmail() to reflect the changes by The Dragon
(see smtplib.py checkin).
1999-04-07 15:56:51 +00:00
Fred Drake
4f21d54764
Added more "See also" entries, + 1 inline hyperlink.
1999-04-05 22:18:12 +00:00
Fred Drake
ea003fcc2a
Fixed latex2html weirdness with footnotes.
1999-04-05 21:59:15 +00:00
Jeremy Hylton
45b0aeda3c
correct version info for zlib.
...
add note about module failing with old versions of the library.
update comment that explains that this doc is *still* out of date
1999-04-05 21:55:21 +00:00
Fred Drake
9aa8543c84
open() description: Made it more clear that 'b' should always be
...
added to the mode value for binary files to improve
portability.
Fixed latex2html weirdness with a couple of footnotes.
1999-04-05 21:22:41 +00:00
Fred Drake
01553706bf
Added a few items to the "See also" sections at Guido's prompting. Made
...
more references to other modules in the text hyperlinks for the HTML and
PDF versions.
1999-04-05 19:46:21 +00:00
Fred Drake
50ae47b0de
Removed bosities around example code; not sure where that stuff crept
...
in!
1999-04-05 19:26:16 +00:00
Fred Drake
1dc3a501a6
Made improvements based on changes just made and comments from
...
Bernhard Reiter <bernhard@csd.uwm.edu>.
1999-04-05 19:00:54 +00:00
Fred Drake
806a467fbf
Where rfc822.Message is mentioned, add a link to the rfc822 module.
1999-03-27 05:45:46 +00:00
Guido van Rossum
cb1f2420ea
Document complex() with string arg.
1999-03-25 21:23:26 +00:00
Guido van Rossum
5fc9c869dd
SIGTERM is no longer caught to call sys.exitfunc.
...
This change was made long ago but the documentation was never updated.
1999-03-25 20:30:00 +00:00
Fred Drake
e82f5b3d6e
Added note about ftpmirror.py, since that seems to be one of the most
...
requested Python tools/examples.
1999-03-25 05:04:17 +00:00
Guido van Rossum
8be229650d
Document new builtin buffer(). Greg Stein.
1999-03-19 19:10:14 +00:00
Fred Drake
596766772e
Documented FTP.set_pasv().
1999-03-18 16:08:54 +00:00
Fred Drake
154d909993
Note that abspath() was added in 1.5.2.
1999-03-17 22:25:11 +00:00
Fred Drake
8d2c0c2ab4
Fixed minor nits, added index entries to make these easier to find for people
...
not familiar with Unix terminology.
1999-03-16 16:40:01 +00:00
Fred Drake
658cef0141
Preliminary mhlib and telnetlib documents from Skip Montanaro -- thanks, Skip!
1999-03-15 15:44:18 +00:00
Fred Drake
bf5a6d2eb4
Fixed tons of small markup problems.
1999-03-12 19:57:38 +00:00
Fred Drake
b3a20bc44c
Added availabililty annotations to respond to concerns of /F.
1999-03-12 18:34:21 +00:00
Fred Drake
93503ca57b
Fixup the module keys. There were some problems with hosting / processing
...
file HTML files on Windows machines do to case insensitivity.
1999-03-12 16:24:22 +00:00
Fred Drake
be110c1706
Updates based on comments from /F.
1999-03-12 15:27:35 +00:00
Fred Drake
35c3ffdc3f
Fixed description of WSTOPSIG(), added WTERMSIG(). Problem reported
...
by Jonathan Giddy <jon@dgs.monash.edu.au>.
1999-03-04 14:08:10 +00:00
Fred Drake
a54a887f66
"\platform{UNIX}" should really be spelled "\platform{Unix}".
1999-03-02 17:03:42 +00:00
Fred Drake
f6863c1909
Added \platform annotations.
1999-03-02 16:37:17 +00:00
Fred Drake
43b34da656
extract_tb(): Only describe this function once. Problem reported by
...
Jonathan Giddy <jon@dgs.monash.edu.au>.
1999-02-26 18:51:21 +00:00
Fred Drake
390636382a
Typo: "Availabilty" --> "Availability"
...
Thanks to /F!
1999-02-26 14:05:02 +00:00
Fred Drake
51027c4173
Added note about comments, from Christopher Petrilli.
1999-02-24 22:36:44 +00:00
Fred Drake
16e81f4484
Update some of the top comments and shorten title of the first
...
section.
1999-02-24 19:57:14 +00:00
Barry Warsaw
f2b4554403
Document the correct class hierarchy for SystemExit. It is not an
...
error and so it derives from Exception and not SystemError.
1999-02-24 00:27:14 +00:00
Fred Drake
1ec71cb556
Incorporated updates to describe geturl() by Sjoerd Mullender
...
<Sjoerd.Mullender@cwi.nl>.
1999-02-22 22:42:14 +00:00
Fred Drake
00a3a65cc0
Refer to the right RFC in the intro.
1999-02-22 17:12:42 +00:00
Fred Drake
7d9b13325d
Other chapter titles refer to collections of modules as "Services"; do
...
the same here.
1999-02-22 14:48:00 +00:00
Fred Drake
fab41f1788
BabylMailbox description: Properly escape the backslashes in the
...
string representations.
1999-02-22 14:26:16 +00:00
Fred Drake
b63e77ccb0
Oops, used a \label twice - fix one of them.
1999-02-22 14:14:48 +00:00
Fred Drake
180b68b3cf
More reasonable section titles.
1999-02-22 13:45:09 +00:00
Fred Drake
76991ec75a
Shorten section title.
1999-02-20 05:20:49 +00:00
Fred Drake
199b79c37b
Added descriptions for BabylMailbox and Maildir (Qmail) mailbox
...
objects.
1999-02-20 05:04:59 +00:00
Fred Drake
67d229ea76
Shorten section title.
1999-02-20 04:51:16 +00:00
Fred Drake
bbac43223c
Shorten a few section titles.
1999-02-20 00:14:17 +00:00
Fred Drake
da57365337
Give subsections reasonable file names in the HTML.
1999-02-19 23:48:05 +00:00
Fred Drake
342501142d
Added an index entry.
1999-02-19 23:45:06 +00:00
Fred Drake
56f8185a53
Shortened the short synopsis -- too long.
1999-02-19 22:59:56 +00:00
Fred Drake
9f03380d1c
Use more current approach to recording authors.
1999-02-19 22:56:08 +00:00
Fred Drake
c60047575d
Shortened the short synopsis -- way too long.
1999-02-19 22:33:51 +00:00
Fred Drake
d8a41e6391
Fix an amazing number of typos & malformed sentences reported by Detlef
...
Lannert <lannert@uni-duesseldorf.de>.
1999-02-19 17:54:10 +00:00
Fred Drake
f6346345b0
Noted that the module was added in 1.5.2.
1999-02-19 15:46:38 +00:00
Fred Drake
4e7c205470
Update description of what modules "look like" when printed.
1999-02-19 15:30:25 +00:00
Fred Drake
cd71aa2a38
Use current approach to record documentation author.
1999-02-18 21:13:03 +00:00
Fred Drake
2a2f1fe4d5
Record module & documentation author.
1999-02-18 21:10:32 +00:00
Fred Drake
6b103f1e12
Documentation for pyclbr and tokenize modules.
1999-02-18 21:06:50 +00:00
Fred Drake
4d358b5d23
Added sections for pyclbr and tokenize.
1999-02-18 20:40:26 +00:00
Fred Drake
7c829b3179
Remove the "Parsing Python" section. Hurray!
1999-02-18 20:39:44 +00:00
Fred Drake
70a66c9d6d
Add notes to __builtin__.float() and string.atof() that the NaN and Inf
...
results are possible but non-portable.
1999-02-18 16:08:36 +00:00
Fred Drake
951eea4733
atof() description: Add information about accepting 'NaN' to produce
...
the NaN value.
1999-02-18 03:49:20 +00:00
Fred Drake
85a59dd68b
The _O_* constants are defined as O_* in the os module.
1999-02-16 19:41:01 +00:00
Fred Drake
9329e5ec75
Remove "_" from the P_* symbols used with the spawn*() functions.
1999-02-16 19:40:19 +00:00
Fred Drake
c7b72dbbca
Added chapter on Windows modules, including msvcrt and winsound.
1999-02-16 19:18:38 +00:00
Fred Drake
aa1afa8d30
Added availability notes for samefile(), sameopenfile(), samestat()
...
since these are not available on Windows.
1999-02-15 16:34:00 +00:00
Fred Drake
9474d86242
Make sure all HTML pages generated from this section have reasonable
...
names.
Markup nits.
1999-02-12 22:05:33 +00:00
Fred Drake
2d2b6a0074
Markup nits.
1999-02-12 20:40:49 +00:00
Fred Drake
28bc711f5f
Added section for MimeWriter, contributed by Christopher Petrilli
...
<petrilli@amber.org>.
This spells the end of another whole section in the undoc chapter!
1999-02-12 19:26:09 +00:00
Fred Drake
26b698fa4d
Document <complex #>.conjugate().
1999-02-12 18:27:31 +00:00
Guido van Rossum
ce67f06491
Update documentation to reflect changes to Queue.py by Tim Peters.
1999-02-08 18:43:13 +00:00
Fred Drake
d673d481f5
Document sameopenfile(), samestat().
1999-02-03 22:31:30 +00:00
Fred Drake
0256c1f453
Document splitdrive().
...
For all split*(), these split path *into* pairs, not split path *in*
pairs. "Into" can be used for transformations, "in" is for
containment.
1999-02-03 19:24:44 +00:00
Guido van Rossum
0c9608cf1b
Portability fix for [f]statvfs() return tuple: no longer return the
...
f_fsid field, since it's not a scalar on all systems supporting this
call (in particular, it's a tuple of two longs on AIX). Since it's
not particularly useful, just nuke it. Adapted the doc strings too.
1999-02-03 16:32:37 +00:00
Fred Drake
215fe2f204
Fix the os/posix documentation issue.
1999-02-02 19:02:35 +00:00
Fred Drake
dda199b261
Moved \versionadded to end of description sections.
1999-02-02 19:01:37 +00:00
Fred Drake
12ba7868e4
Moved posixpath to os.path.
1999-02-02 19:00:37 +00:00
Fred Drake
560bcae0f0
Added posixpath, winsound.
1999-02-02 18:59:58 +00:00
Fred Drake
a9b9bf96fe
Change this to be os.path.
...
Use consistent parameter naming with the os documentation (paths
always named "path" or "path1", "path2"...).
1999-02-02 18:58:33 +00:00
Fred Drake
d0bceeeb59
Move \versionadded macros to end of descriptions.
1999-02-02 18:00:40 +00:00
Guido van Rossum
09da65ef2f
Patch by Sjoerd Mullender to placate /F:
...
Clarified (hopefully :-) the documentation of elements and attributes
variables.
1999-02-02 17:55:12 +00:00
Fred Drake
dbd72a4e4f
Added module synopsis.
1999-02-01 21:27:59 +00:00
Fred Drake
68a8c69499
Take out just about everything and refer the reader to the os module.
1999-02-01 20:23:02 +00:00
Fred Drake
b23ee1d899
Make the text generic, and call it os.path instead of posixpath.
1999-02-01 20:20:39 +00:00
Fred Drake
98be47e737
OSError description: "as the by the" --> "as the"
1999-02-01 16:17:40 +00:00
Guido van Rossum
1804dc3c07
Document abspath() (implementation is forthcoming).
1999-01-29 18:05:05 +00:00
Fred Drake
703b70e260
Added \modulesynopsis.
1999-01-28 19:30:49 +00:00
Fred Drake
9d814c6805
Document the repr module. This removes the entire "Code objects and
...
files, debugger etc." section from "Undocumented Modules"!
1999-01-27 17:20:33 +00:00
Fred Drake
da452bf6a7
Don't say that the module defines the "following functions" and then
...
only describe one; say "following function" instead!
Merge the two one-sentence paragraphs into a single paragraph, so it
doesn't look too stupid.
1999-01-27 15:48:23 +00:00
Fred Drake
ebe2a12de8
Incorporate changes for patched version of ConfigParser.
1999-01-26 21:49:05 +00:00
Fred Drake
bc866ce2e3
Documentation for the ConfigParser module, by Christopher G. Petrilli
...
(petrilli@amber.org ).
1999-01-26 15:47:59 +00:00
Guido van Rossum
9700e9becc
Document the default for tabsize in expandtabs().
1999-01-25 22:31:53 +00:00
Fred Drake
19a0dba342
Add caveat on partial dependence on the "cl" module, only available on
...
IRIX systems.
1999-01-20 16:26:09 +00:00
Fred Drake
9ea3e36419
Move the jpeg module to the SGI section; it is dependent on the "cl"
...
module available on IRIX.
1999-01-20 15:55:20 +00:00
Fred Drake
a7998f650a
Revised comments on null bytes in pattern string.
...
Removed "New" from module synopsis.
1999-01-19 20:00:08 +00:00
Fred Drake
6ffa445832
Fix second description of handling 2-digit years (last item in
...
introductory text).
1999-01-19 19:35:18 +00:00
Fred Drake
7eca8e5017
Fix typo spotted by Jeff MacDonald <jam@ans.net>.
1999-01-18 15:46:02 +00:00
Barry Warsaw
53610caee2
for method getaddrlist(): Added a note clarifying that all named
...
headers and their continuation lines are parsed.
1999-01-14 21:26:54 +00:00
Fred Drake
e36e4e6778
Use \refmodule when we say "use the XXX module instead".
...
For the whatsound module, point to sndhdr.
1999-01-13 17:11:52 +00:00
Fred Drake
39cddb7439
Added \modulesynopsis.
1999-01-12 19:22:11 +00:00
Fred Drake
03dd3efd5a
<writer>.send_paragraph(): Clarify what needs to be done by this
...
method and what it should not do. (Specifically: handling
breaking of last line of preceeding paragraph.)
1999-01-12 18:33:47 +00:00
Fred Drake
bb3b0028ba
Patches describing the statvfs() and fstatvfs() functions. Additional
...
text about large file support.
All new text by Steve Clift <clift@mail.anacapa.net>, with only minor
revision / addition of markup.
1999-01-11 18:36:23 +00:00
Fred Drake
c7dd3e11da
Markup nit.
...
Add module synopsis.
1999-01-07 15:45:55 +00:00
Guido van Rossum
cf3ce92ef4
Explain how come that pickle and cPickle, while using the same data
...
format, can produce different pickle strings for the same object.
1999-01-06 23:34:39 +00:00
Guido van Rossum
87e611e441
Replace the docs for reduce with an adaptation of its docstring, which
...
was actually clearer!
1999-01-06 23:10:51 +00:00
Guido van Rossum
74429eacb5
Add doc for access() and ttyname(). Patch by Sean Reifschneider.
1999-01-06 23:03:43 +00:00
Fred Drake
c553358c63
Remove documentation for whatraw() since it's gone now.
1999-01-06 15:21:19 +00:00
Fred Drake
60adb362df
Document the sndhdr module.
...
Document that the whatsound module is obsolete.
1999-01-05 23:09:12 +00:00
Fred Drake
a2e4017394
Shorten the synopsis that gets into the table of contents.
1999-01-05 22:54:49 +00:00
Fred Drake
02e18b4b84
Added missing "from" in IOError description.
1999-01-05 21:42:18 +00:00
Andrew M. Kuchling
f07c328c07
Document the optional mode argument (Z_FLUSH, Z_SYNC_FLUSH, etc.)
...
to the flush() method of compressor objects.
1998-12-31 21:14:23 +00:00
Fred Drake
94c4a7976f
Added index entries to make it easier to locate directory & file operations.
1998-12-28 21:58:57 +00:00
Fred Drake
8692998018
Added index entries to make it easier to locate directory operations.
1998-12-28 21:58:15 +00:00
Fred Drake
76fa3b73d6
Remove recently documented modules from the undoc list.
1998-12-28 20:53:19 +00:00
Fred Drake
449e18f459
Add documentation for shutil module.
1998-12-28 20:16:58 +00:00
Fred Drake
cd058539a8
Adjust a few niggles that affected the HTML conversion (a couple of
...
"^"s were being dropped in the context of [^...]).
1998-12-28 19:03:24 +00:00
Fred Drake
99e2c39b31
Add the getpass module.
1998-12-22 23:37:46 +00:00
Fred Drake
5ac2a07fca
Basic documentation for the getpass module.
1998-12-22 23:37:21 +00:00
Fred Drake
5cb48a4c98
Added a \versionchanged since the API changed to support
...
namespaces with 1.5.2.
Added an index entry.
Fixed XML expansion: XML is the "Extensible Markup Language", not the
"eXtended Markup Language".
1998-12-22 18:46:13 +00:00
Fred Drake
292b9ebfba
Added information on when this was added, allowing us to release the
...
documentation on the Web while people are still using < 1.5.2b1.
1998-12-22 18:40:50 +00:00
Fred Drake
1189fa98eb
Adjust markup to match current conventions, and make it formattable.
1998-12-22 18:24:13 +00:00
Fred Drake
768ac6b804
Start of text that describes differences between match and search.
...
Strengthen pointers to the search() function and method.
1998-12-22 18:19:45 +00:00
Fred Drake
191f2857f5
Use \moduleauthor and \sectionauthor instead of a comment to credit
...
the author (just happened to notice this one).
1998-12-22 18:06:02 +00:00
Fred Drake
7be0cde3a0
Add an explanation about what the example does and doesn't do.
...
Fix an appearantly new behavior with latex2html with quoting. (Good
incentive to work on the SGML conversion! ;)
1998-12-22 18:04:48 +00:00
Guido van Rossum
5e97c9dff9
Adding libshlex and libnetrc by Eric Raymond.
1998-12-22 05:18:24 +00:00
Fred Drake
e848976fba
Clarify descriptions of some operations; it's not always clear that
...
strings are not actually modified. Problem reported by Dr. Peter
Stoehr <peter.stoehr@weihenstephan.org>.
1998-12-21 18:56:13 +00:00
Fred Drake
3b02ddfa41
Add a bunch of index entries related to retrieving information from
...
the process table.
1998-12-21 18:52:53 +00:00
Guido van Rossum
b083a9fb54
Sjoerd Mullender writes:
...
Here is my current version of xmllib.py and the documentation. This
version has some API changes with respect to the version currently in
Python (also the one in 1.5.2a).
This version supports XML namespaces.
1998-12-18 20:17:13 +00:00
Fred Drake
fee6abea90
Remove another {\rm ...} construct.
...
Sheesh, where do these things come from?
1998-12-10 19:57:52 +00:00
Fred Drake
e9e05968e3
Nits.
1998-12-10 05:04:21 +00:00
Fred Drake
0ad55fb241
Update the descriptions of strftime() and strptime() to avoid
...
confusion, and describe what the "directives" are about.
1998-12-08 19:59:36 +00:00
Guido van Rossum
aac399b80b
Correct the poplib example. Stephan Richter pointed out some problems
...
with it.
1998-12-08 16:30:10 +00:00
Fred Drake
64583d3f87
Rename the parameters of atan2(), based on comments from Guido & Peter
...
A. Koren <pkoren@hex.net>.
1998-12-08 16:10:44 +00:00
Guido van Rossum
f484a3366b
Sjoerd writes:
...
When literal mode is entered it should exit automatically when the
matching close tag of the last unclosed open tag is encountered. This
patch fixes this.
1998-12-07 21:59:56 +00:00
Fred Drake
d83675f344
"singed" --> "signed" (3 places)
...
Noticed by Andrew MacIntyre <andymac@bullseye.apana.org.au>.
1998-12-07 17:13:18 +00:00
Guido van Rossum
8c2da61811
Add explicit example on how to import a submodule of a package using
...
__import__ and getattr().
1998-12-04 15:32:17 +00:00
Barry Warsaw
6d26f4b188
Moved NotImplementedError into alphabetical order, and reword
...
description.
1998-12-01 19:48:04 +00:00
Barry Warsaw
1e151322fb
Added documentation for NotImplementedError. Fred (I'm sure) will
...
sanitize for your protection :-)
1998-12-01 19:19:21 +00:00
Fred Drake
2f8592cbea
Ignore the byproducts of SGML/XML conversions for now.
1998-12-01 18:58:28 +00:00
Fred Drake
eabfab1048
Nits to support conversions.
1998-12-01 18:37:59 +00:00
Fred Drake
1e270f0e03
Nits to support conversions.
1998-11-30 22:58:12 +00:00
Fred Drake
50b804dc88
Fix minor nit with respect to conversion.
...
Update some logical markup.
1998-11-30 22:14:58 +00:00
Fred Drake
caa3379c4f
Remove {\rm ...} constructs.
1998-11-30 21:53:47 +00:00
Fred Drake
84538cd076
Remove some remaining {\rm ...} constructs.
...
Update logical markup in a few spots.
1998-11-30 21:51:25 +00:00
Fred Drake
1776556f8f
Markup nit to ease conversions.
1998-11-30 19:00:16 +00:00
Fred Drake
3d29955a6e
Markup improvements to help with conversions.
1998-11-30 18:59:44 +00:00
Fred Drake
01d5d94020
Remove cruft from the old Texinfo conversion. This simplifies some of
...
the newer processing.
1998-11-30 17:33:38 +00:00
Fred Drake
5208823158
Remove bogus \@.
1998-11-30 16:27:37 +00:00
Fred Drake
d61975e179
Minor markup nit to ease conversion processing.
1998-11-30 16:26:50 +00:00
Fred Drake
f6c59e8fff
Do all the right imports. Problem reported by Martijn Faassen
...
<faassen@vet.uu.nl>.
1998-11-30 15:07:26 +00:00
Fred Drake
4471f20ed4
Logical markup.
...
Fix a few things for the conversion to structured markup.
Removed texinfo special cases, since there's likely a new info
process.
1998-11-25 22:38:24 +00:00
Fred Drake
f65e323101
Fix remaining {\rm ...} construct.
1998-11-25 20:55:03 +00:00
Guido van Rossum
5eabf3823b
Clarify that min and max also take multiple arguments.
1998-11-25 18:53:05 +00:00
Fred Drake
e839199014
Fix indexing of func_code attribute; this is on a function, not a code
...
object.
Add "()" to method names indexed using \ttindex{}.
1998-11-25 17:09:19 +00:00
Guido van Rossum
04307ce789
Rewrote the section on sys.exit(), documenting other argument types
...
than integers and recommending sys.exit("message").
(I see this as Python's answer to Perls ``die "message";''.)
1998-11-23 17:49:53 +00:00
Guido van Rossum
da30f4ca6b
Fix typo in doc for handle(): client_request should be client_address.
...
Noted by Stefan Witzel.
1998-11-16 19:07:04 +00:00
Fred Drake
c46973c89b
Document the user and password parameters to the NNTP constructor.
1998-11-16 17:11:30 +00:00
Fred Drake
2510d22048
Clarify the default buffering for open(). (Comment from Andrew Dalke
...
<dalke@bioreason.com>).
1998-11-02 18:57:34 +00:00
Fred Drake
cab91efd34
Fix Barry's markup.
1998-11-02 17:23:25 +00:00
Fred Drake
9ed1a0afb9
Moved zmod and poly descriptions to the Obsolete section.
1998-11-02 15:46:21 +00:00
Barry Warsaw
4a1cdd7f22
Document the new features of this module
1998-10-31 23:19:00 +00:00
Fred Drake
130072d663
Don't describe something as "below"; that won't make sense for the
...
HTML version. Give a reference to the actual section to allow a
hyperlink to be built.
1998-10-28 20:08:35 +00:00
Fred Drake
c024c99faf
Fix typo reported by Gerry Weiner <gerry@ucar.edu>.
1998-10-28 18:19:16 +00:00
Andrew M. Kuchling
c1cea208bc
Added URL to HOWTO page, with reference to Regex HOWTO.
...
Corrected error: {,5} is not equivalent to {0,5}.
1998-10-28 15:44:14 +00:00
Guido van Rossum
04101960e6
Indicate that os.environ may not be a real dictionary.
1998-10-24 20:16:56 +00:00
Guido van Rossum
18fa7d2800
Typo: JIFF -> JFIF.
1998-10-19 13:30:01 +00:00
Guido van Rossum
f35b884c91
Clarify that close() of a stream opened by popen() returns None if the
...
exit status is zero.
1998-10-15 13:28:29 +00:00
Guido van Rossum
7d447aabbf
Moved search and match around so that search is documented first.
1998-10-13 16:03:52 +00:00
Barry Warsaw
afd974c2ab
Document the new list.extend() method. Interesting enough, the
...
canonical definition of extend() is very similar to append() except
that the former doesn't list-ify the argument!
1998-10-09 16:39:58 +00:00
Fred Drake
09b295754f
Remove extra } at end of method description parameters.
1998-10-01 20:43:13 +00:00
Barry Warsaw
b2031f72d3
Document that apply() can now take any sequence in argument 2.
1998-10-01 15:35:43 +00:00
Guido van Rossum
9814a943a5
Add warning that on Windows it only works on sockets.
1998-09-28 14:28:38 +00:00
Guido van Rossum
954b9adcd2
Document new urllib features by Eric Raymond.
1998-09-28 14:08:29 +00:00
Guido van Rossum
5fb2631ff9
Explicitly document the fact that the search method returns a MatchObject.
...
(Reported by Gary Herron.)
1998-09-21 19:26:16 +00:00
Guido van Rossum
6ac06b39b3
Patch by Greg Stein to document the 'P' flag.
1998-09-21 14:44:34 +00:00
Fred Drake
10a7985565
re.findall(): Mark as added in 1.5.2.
1998-09-18 17:11:49 +00:00
Guido van Rossum
43b655c0ab
Get rid of 'ppp' that accidentally crept in.
1998-09-17 17:07:15 +00:00
Guido van Rossum
6442116029
Richard Wolff's changes, documenting his changes to pdb.py.
1998-09-17 15:11:51 +00:00
Fred Drake
d16d4981d1
Markup nits.
1998-09-10 20:21:00 +00:00
Fred Drake
9b134bf716
Added comment about support for rational numbers, and pointer to
...
Demos/classes/Rat.py.
1998-09-10 18:42:55 +00:00
Fred Drake
7a2f0668e4
Markup nits.
...
Fixes/index improvements from Michael Ernst <mernst@cs.washington.edu>.
1998-09-10 18:25:58 +00:00
Guido van Rossum
dbf7956e52
Clarify Y2K behavior when a tuple with a 2-digit date is passed to
...
mktime() and such.
1998-08-25 14:44:49 +00:00
Fred Drake
607f802886
round(): Mark the second (optional) parameter as optional, since it's
...
described that way.
setattr(): Clarify that the attribute doesn't need to exist to be set.
1998-08-24 20:30:07 +00:00
Fred Drake
c859350fa6
Added some cross-references to the end.
1998-08-24 18:46:14 +00:00
Fred Drake
d0421dd448
spoking --> speaking
...
object whose method this is --> object on which the method operates
1998-08-24 17:57:20 +00:00
Fred Drake
637af13dca
There is no <ISINPUT> element, just <ISINDEX>. ;-)
1998-08-21 20:02:06 +00:00
Andrew M. Kuchling
42db27fedc
Added an example that uses signal.alarm() to time out an os.open() that
...
takes too long. This example relies on the fact that raising an
exception in a signal handler causes the exception to be re-raised
when the main line of the program resumes execution. Is this guaranteed
in CPython, or is this something that just happens to work by accident?
Also fixed a typo.
1998-08-18 19:38:54 +00:00
Fred Drake
e7210dad6c
Fix arguments for renames(); bug spotted by Oliver Andrich
...
<oli@rhein-zeitung.de>.
1998-08-17 13:29:06 +00:00
Fred Drake
a5aefbad5a
Fix markup where C include files get named in <...> form; bug reported by
...
Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
1998-08-14 17:05:17 +00:00
Andrew M. Kuchling
d22e25002a
Clarify wording in the description of re.split
...
Simplify the patterns in the examples for re.split
1998-08-14 14:49:20 +00:00
Guido van Rossum
3a5a02f3da
Second definition of popen2 should be popen3.
1998-08-13 01:27:01 +00:00
Fred Drake
211f22c1b1
Added the test package under "Frameworks".
1998-08-11 18:13:31 +00:00
Fred Drake
2f343eb5cf
Moved to ../templates/module.tex.
1998-08-11 17:30:02 +00:00
Fred Drake
5bdf88a364
Removed now-documented modules from the list.
1998-08-11 15:49:09 +00:00
Fred Drake
23f414c539
Added new sections.
1998-08-11 15:47:16 +00:00
Fred Drake
e72e1e02fe
Documentation for the compileall module.
1998-08-11 15:46:42 +00:00
Fred Drake
4756bb3e54
Documentation for the py_compile module.
1998-08-11 15:46:25 +00:00
Fred Drake
64c105d3d2
Added index entries.
...
Small markup nits.
1998-08-11 15:18:45 +00:00
Fred Drake
295da24eaf
New section header style.
...
Fix up a few synopses.
1998-08-10 19:42:37 +00:00
Fred Drake
23329d41bc
Some logical markup, some nits.
1998-08-10 17:46:22 +00:00
Fred Drake
66da9d69fc
re is standard, not built-in.
1998-08-07 18:57:18 +00:00
Guido van Rossum
cdf6af1233
Document gethostbyname_ex().
1998-08-07 18:07:36 +00:00
Guido van Rossum
730d83797e
Clarify that quit() and close() render the instance useless.
1998-08-07 17:36:59 +00:00
Fred Drake
161edc29a6
Added file transfer to example.
1998-08-07 17:30:49 +00:00
Fred Drake
60c3cafc24
In the example, make sure all the imports are done.
1998-08-07 16:03:32 +00:00
Fred Drake
3700b6f94e
Markup nits.
1998-08-07 16:02:28 +00:00
Fred Drake
c18a6f3bfe
Clarify xdrlib synopsis.
1998-08-07 16:01:15 +00:00
Fred Drake
2d62395a8e
Fix typo in binascii synopsis.
1998-08-07 16:00:30 +00:00
Fred Drake
150ee43c64
Removed obsolete chapter header.
1998-08-07 15:58:54 +00:00
Fred Drake
f44c4851e9
New organization of internet modules into protocols/support and data
...
chapters.
1998-08-07 15:58:31 +00:00
Fred Drake
29fe944787
New chapter headers for Internet Protocols and Internet Data chapters,
...
which replace the existing internet chapter.
1998-08-07 15:56:52 +00:00
Fred Drake
d795c5cbd1
Fix synopsis for multifile.
1998-08-07 15:55:14 +00:00
Fred Drake
399fea89cb
Shorten the module synopsis.
1998-08-06 21:30:32 +00:00
Fred Drake
72d157e998
Shorten the module synopsis.
1998-08-06 21:23:17 +00:00
Fred Drake
23a163454a
Markup nit.
1998-08-06 15:33:55 +00:00
Fred Drake
1a3c2a0ede
Markup nits.
1998-08-06 15:18:23 +00:00
Fred Drake
56fa8a7e4b
Marked makedirs(), removedirs(), renames() as added in 1.5.2.
1998-08-06 13:45:42 +00:00
Guido van Rossum
5fdd119aba
Clarify the + and b mode characters for open() a bit.
1998-07-29 21:05:35 +00:00
Fred Drake
9f86b662d1
Update to use a separate page for front matter.
1998-07-28 21:55:19 +00:00
Fred Drake
ee7fd697bf
Fixed the gzip synopsis.
1998-07-27 22:30:15 +00:00
Fred Drake
a30e469fda
Added the popen2 synopsis.
1998-07-27 22:20:02 +00:00
Fred Drake
54327c4c05
Added the calendar synopsis.
1998-07-27 22:18:24 +00:00
Fred Drake
edf6b1f431
Added the bisect synopsis.
1998-07-27 22:16:46 +00:00
Fred Drake
9030b0f053
Added the dumbdbm synopsis.
1998-07-27 22:12:26 +00:00
Fred Drake
08caa964c4
Added a synopsis.
1998-07-27 22:08:49 +00:00
Fred Drake
9643c6706f
Fix the synopsis.
...
Change one \code{} to \samp{}.
1998-07-27 22:06:12 +00:00
Fred Drake
b44e75339a
Mark the new & changed items.
1998-07-27 21:11:42 +00:00
Guido van Rossum
2babd7b151
Document getsize(), getmtime(), getatime().
1998-07-24 20:49:39 +00:00
Guido van Rossum
89a79d19b7
Document makedirs(), removedirs(), renames() -- ESR-inspired super-versions
...
of mkdir(), rmdir() and rename() that make or remove intermediate
directories as well.
1998-07-24 20:48:20 +00:00
Guido van Rossum
b193c95165
Document Ellipsis (not much of a documentation snippet, but at least
...
it's mentioned.
1998-07-24 15:02:02 +00:00
Guido van Rossum
1eb200d360
Added 3 missing types: ComplexType, SliceType, EllipsisType.
1998-07-24 15:01:05 +00:00
Fred Drake
78a6ddbdd1
Move files around in a different way, so CVS picks up all the changes. ;-)
1998-07-24 14:27:22 +00:00
Fred Drake
64e3b43583
Move files around to get the names to match the module names except for
...
case. Two modules (SocketServer, BaseHTTPServer) still don't match; those
names are just too long!
1998-07-24 13:56:11 +00:00
Fred Drake
cf0fb8bfee
Document the 'p' format character.
...
Clean up some of the markup.
1998-07-23 21:18:25 +00:00
Fred Drake
c457ca7ede
Fix up Barry's markup, which didn't pass the latex test. ;-)
1998-07-23 20:31:53 +00:00
Barry Warsaw
da00c878bd
Added descriptions of EnvironmentError and OSError; updated IOError to
...
reflect its new place in the exception hierarchy; fixed typos, etc.
1998-07-23 19:57:35 +00:00
Barry Warsaw
eef2cd14c9
Updated the description of os.error to reflect the fact that it is now
...
equivalent to exceptions.OSError.
1998-07-23 19:50:09 +00:00
Fred Drake
27467e4b7e
Logical markup.
1998-07-23 19:47:41 +00:00
Fred Drake
3bd9ab0ef3
Use the new module synopsis syntax, even though we don't need a synopsis table
...
for this chapter. This protects against backend changes for \declaremodule.
1998-07-23 19:33:08 +00:00
Fred Drake
b91e934cf1
Adjusted to use the new module synopsis support macros.
1998-07-23 17:59:49 +00:00
Guido van Rossum
be260101cb
# Oops, correct Latex errors.
1998-07-22 21:51:41 +00:00
Guido van Rossum
0af2f63056
Document how to make a POST request with urlopen().
...
Change the argument name for quote() and quote_plus() to safe (which
matches the implementation).
Add doc for the *new* function urlencode().
1998-07-22 21:34:21 +00:00
Guido van Rossum
897b9f0b0d
Add new syntax for specifying filenames on break and clear commands.
1998-07-20 23:29:10 +00:00
Guido van Rossum
d623d20e7d
Complete the addition of libthreading.tex. (Isn't it annoying that
...
you need to edit four files in order to add one section to the manual?)
1998-07-20 17:34:50 +00:00
Andrew M. Kuchling
16440e63be
Added libthreading.tex ; this is mostly the contents of threading_api.py,
...
with LaTeX markup added, and some small rewrites to improve the prose.
1998-07-20 13:46:10 +00:00
Guido van Rossum
dfba2fbfd0
Eric Raymond documents two already-existing functions (bmp, png).
1998-07-17 19:01:29 +00:00
Guido van Rossum
7bda89f694
Rewritten a bit to address some criticism in the newsgroup.
1998-07-06 20:47:40 +00:00
Fred Drake
1717ba498f
Normalize markup.
1998-07-02 19:36:50 +00:00
Fred Drake
579d366458
Normalize the markup.
1998-07-02 19:35:12 +00:00
Fred Drake
3f6034dcce
Added index entry.
1998-07-02 19:33:43 +00:00
Fred Drake
91e5211bbf
Added \deprecated to exit_thread() function.
...
Reflects Guido's revision.
1998-07-02 19:33:12 +00:00
Fred Drake
3240dd2bc2
Mark the actual SMTP commands (HELO, etc.) the same way FTP & NNTP commands
...
are in the appropriate sections.
Some minor nits.
1998-07-01 14:10:52 +00:00
Guido van Rossum
cf51dacfb8
Document __copy__() and __deepcopy__() methods.
1998-06-30 16:54:33 +00:00
Fred Drake
5b68362a3a
Use the real name of the module: "smtplib", not "smtp".
...
Use logical (& consistent) markup.
Added a see-also section at the end.
1998-06-30 16:53:52 +00:00
Guido van Rossum
8ec619f60e
Note that readline returns '' on EOF, not "EOF" (whatever that may be).
1998-06-30 16:35:25 +00:00
Guido van Rossum
472b9a3f06
Clearly I was to quick with the previous commit...
...
Need to add \optional{} to sort argument too.
Made x a \var in descr of pop.
Fixed note for pop() and mentioned that it is experimental.
Also added pop to index.
1998-06-30 16:02:35 +00:00
Guido van Rossum
97ea116472
Documented the pop() method for lists.
...
# The brackets generated by \optional{} are real ugly. Alas...
1998-06-30 15:56:23 +00:00
Guido van Rossum
9c59ce9b5a
Documented os.linesep (line separator).
1998-06-30 15:54:27 +00:00
Guido van Rossum
cd90509d58
As suggested by pson@pson.pp.se, correct the docs for head(), body(),
...
article().
1998-06-30 14:53:41 +00:00
Andrew M. Kuchling
52a79e8e1c
Changed URL to crypto page.
1998-06-30 13:42:05 +00:00
Guido van Rossum
6c373f758f
Document new default arg to groups() and new functions/methods
...
groupdict() and findall().
1998-06-29 22:48:01 +00:00
Guido van Rossum
f9cfb173cd
Now cmd is documented too.
1998-06-28 18:01:59 +00:00
Guido van Rossum
a40d643cdc
Documented smtplib, multifile
1998-06-28 17:58:06 +00:00
Guido van Rossum
8ddbe9119f
Documented cmd, smtplib, multifile
1998-06-28 17:57:27 +00:00
Guido van Rossum
8668e8e49c
Contributions by Eric Raymond: documentation for modules
...
cmd, multifile and smtplib.
1998-06-28 17:55:53 +00:00
Guido van Rossum
73d8bff44d
Document optional kwargs argument to start_new_thread(). Also
...
document new LockType and reverse the preference for exit()
vs. exit_thread() -- exit() is now preferred and exit_thread() is
obsolete.
1998-06-27 18:25:44 +00:00
Fred Drake
e5836d9811
Mark the 'whence' parameter of the file object's seek() method as optional;
...
it's already decribed that way in the description.
1998-06-25 16:26:56 +00:00
Andrew M. Kuchling
65b7863efc
Fix unclear wording pointed out by Tim Peters, about the interaction between
...
^ and the pos argument to re.match().
Also, fixed a typo in libregex.tex.
1998-06-22 15:02:42 +00:00
Guido van Rossum
a7874d1505
Revert the change of revision 1.30. While it's in general a laudable
...
goal to use isinstance(x, y) instead of comparing type(x) to y, it
doesn't make sense to change this in the example code for the type()
builtin...
1998-06-22 14:07:36 +00:00
Fred Drake
1b0ff2c32f
eval() example: Removed final interpreter prompt; other examples don't have
...
the empty prompt.
1998-06-19 21:19:50 +00:00
Fred Drake
59160706b3
Somewhat updated, but not checked for everything (just the stuff I was using).
1998-06-19 21:18:28 +00:00
Guido van Rossum
7b7f6688d2
Added a stronger warning about changing the dictionary returned by
...
locals().
1998-06-18 16:45:34 +00:00
Guido van Rossum
faac0136f4
# Untabified the example :-(
1998-06-17 22:38:09 +00:00
Guido van Rossum
bca1207ac8
Documented that by default the output goes to stderr, and that a file
...
keyword argument can be used to direct it somewhere else. Also
documented all the other functions in this module, and even added a
little example.
# Haven't tested the latex for correctness -- all latex installations
# appear broken.
1998-06-17 22:37:26 +00:00
Guido van Rossum
777dcc6b21
Change the description of input() -- it is exactly equivalent to
...
eval(raw_input(s)). The statement about breaking a long expression
over multiple lines is no longer true.
1998-06-17 15:16:40 +00:00
Guido van Rossum
872948350f
Some extra notes, and describe a new class (AddressList), all by ESR.
1998-06-16 22:27:40 +00:00
Guido van Rossum
a3eebe60dc
Add warning about use of lowercase/uppercase with maketrans().
1998-06-11 16:03:30 +00:00
Guido van Rossum
444d0f87c9
Eric Raymond: added doc for isheader(); improved docs for constructor.
1998-06-11 13:50:02 +00:00
Guido van Rossum
1299100324
Document the changes I just checked in.
1998-06-10 21:34:27 +00:00
Guido van Rossum
3e5fe422cc
Document several variables that were previously undocumented,
...
including the new __stdin__, __stdout__ and __stderr__.
Also moved setttrace around to its proper place in the alphabet.
1998-06-10 17:57:44 +00:00
Guido van Rossum
929bd0e02e
Added notes about epochs, the year 2038, and a small Y2K disclaimer
...
(all with index entries!). Also update the list of functions that
take or yield a time represented as a 9-tuple.
1998-06-09 21:25:41 +00:00
Guido van Rossum
5d23758be7
Added docs for strptime().
1998-06-09 16:30:56 +00:00
Guido van Rossum
52481484e6
Clarify the type of the signal handler.
1998-06-09 15:42:25 +00:00
Guido van Rossum
a58e9edbef
Document missing functions: xor, not, truth, countOf, indexOf, and
...
(new!) contains.
1998-05-22 18:48:37 +00:00
Fred Drake
6a50ba82ce
Minor grammatical correction: "This module perform ..." --> "This module
...
performs ...".
1998-05-22 18:19:19 +00:00
Fred Drake
7c68ab2f2b
Added entry for mimetypes.
1998-05-19 19:13:01 +00:00
Fred Drake
b818b46b38
Add section documenting mimetypes module.
1998-05-19 15:03:45 +00:00
Fred Drake
203b4f1a25
Add an index entry.
...
Bow to font lock.
1998-05-14 15:16:12 +00:00
Fred Drake
a4c640e142
Reverted the last change; the extra cruft is harmless for formatted versions,
...
and allows the info to work through this section.
1998-05-11 19:51:11 +00:00
Fred Drake
02379fab61
Use \ldots, not \dots. The info process doesn't know about \dots.
1998-05-08 15:39:40 +00:00
Guido van Rossum
7b0c9d8a07
exec is a statement, not a function!
1998-05-08 13:27:38 +00:00
Fred Drake
4775d0a353
Relocating file to mac.
1998-05-07 12:58:57 +00:00
Fred Drake
f7ffa92ce3
Fix typo in example found by Anthony Starks <anthony_starks@merck.com>,
...
reported to me by Piers Lauder <piers@cs.su.oz.au>.
1998-05-06 12:42:37 +00:00
Fred Drake
91eeefdee4
Work around lack of support for \if... in latex2html.
1998-04-29 17:56:44 +00:00
Fred Drake
06245ac2fa
Fix documentation based on comments from Sean Reifschneider
...
<jafo-9804@tummy.com>.
Logical markup.
1998-04-29 14:38:34 +00:00
Fred Drake
b5aa3de118
Remove extra cruft for texi processing.
1998-04-28 18:37:12 +00:00
Fred Drake
ca6b4fe36b
Section for bisect module.
1998-04-28 18:28:21 +00:00
Fred Drake
188a8471b8
Moved popen2 entry to make more sense.
...
Added bisect entry.
1998-04-28 18:27:53 +00:00
Fred Drake
125024a87d
Updated.
1998-04-28 18:27:22 +00:00
Guido van Rossum
2aefe8d7c0
Document changed semantics -- open() now guesses the db type and error
...
is now a tuple of various and sundry exceptions.
1998-04-28 15:29:26 +00:00
Fred Drake
f8d50bfdb0
Hook in the calendar and popen2 sections.
1998-04-28 14:29:27 +00:00
Fred Drake
1c127e74af
calendar module section for the library reference, by Drew Csillag.
1998-04-28 14:28:57 +00:00
Fred Drake
6afad3792d
popen2 section for the library reference, contributed by Drew Csillag, with
...
some reorganization.
1998-04-28 14:28:15 +00:00
Fred Drake
2a1cc3e171
Use of \key and \kbd were isolated to one instance each in this file;
...
normalize to \kbd to allow removal of \key from the document class.
1998-04-28 13:38:54 +00:00
Fred Drake
4f31694d37
Document transfercmd(), ntransfercmd(), delete(), rmd(), size().
...
Thanks to Timothy Wild <twild@clear.net.nz> for catching the omission of
delete().
1998-04-27 14:54:06 +00:00
Fred Drake
a468404dda
Added a section for the poplib module, contributed by Drew Csillag.
1998-04-24 20:49:02 +00:00
Fred Drake
e28fb67c2c
Add entry for poplib.
1998-04-24 20:08:28 +00:00
Fred Drake
42de185a77
Added \label to subsections which didn't have one, since this module has
...
subsections listed in the documentation index sidebar. (Why?)
1998-04-20 16:28:44 +00:00
Guido van Rossum
a933f6a53d
Fix vonmisesvariate() -- it now returns an angle between 0 and *two*
...
times pi. Got rid of $math$ here and in one other place.
1998-04-20 14:43:44 +00:00
Fred Drake
4f5155817b
Mark TMPDIR correctly.
1998-04-17 14:51:04 +00:00
Fred Drake
1d9fb63293
Remove commented-out Mac chapter.
1998-04-17 13:24:55 +00:00
Fred Drake
6b303b4bdd
Signature for dir() omitted the optional argument.
1998-04-16 22:10:27 +00:00
Fred Drake
12d9fc94f4
Use shorter labels; using long labels creates problems on the Macintosh.
...
(Thanks, Just!)
1998-04-14 17:19:54 +00:00
Fred Drake
95638f5b0f
Added entry for Tkdnd.py.
1998-04-14 04:55:43 +00:00
Fred Drake
68fede768a
Added item in Misc. for getpass module.
1998-04-13 20:31:31 +00:00
Fred Drake
916d8f8733
No more threats, just list the new methods under "AST Objects".
1998-04-13 18:46:16 +00:00
Fred Drake
c4f1ca1967
Add a note that pickling is supported.
1998-04-13 16:27:27 +00:00
Fred Drake
3e7a48e0d9
Revert markup around list of display fields from the disassembler; it doesn't
...
look at good in print, but doesn't break the HTML.
1998-04-13 16:15:02 +00:00
Fred Drake
6250205166
Use {methoddesc} instead of {funcdesc} for object methods.
1998-04-12 03:31:31 +00:00
Fred Drake
898601bf8f
Add cPickle to the list of modules in the chapter.
1998-04-12 03:08:41 +00:00
Fred Drake
d6d88ffaf9
Add cStringIO to the list of modules in the chapter.
1998-04-12 03:07:35 +00:00
Fred Drake
ee60191d1d
Lighten up tables.
1998-04-11 20:53:03 +00:00
Fred Drake
17e564042d
Change order of \seemodule macros at end of pickle module section.
1998-04-11 20:43:51 +00:00
Fred Drake
9463de2092
Document cPickle and cStringIO.
1998-04-11 20:05:43 +00:00
Fred Drake
fab2f34538
When the text of a table cell should be wrapped, used a "p" column.
1998-04-11 18:46:56 +00:00
Fred Drake
7e9383ab59
Add a comment to indicate the methods of the StringIO are being discussed...
1998-04-11 18:05:24 +00:00
Fred Drake
70c460c84d
Remove imaplib from the undocumented list.
1998-04-11 16:58:26 +00:00
Fred Drake
a38a2867d0
Include () after function name.
...
One more logical mark.
1998-04-11 16:57:05 +00:00
Fred Drake
0d213d3497
When the text of a table cell should be wrapped, used a "p" column.
1998-04-11 16:40:46 +00:00
Fred Drake
34672dbb38
Remove over-active replace-string turds.
1998-04-11 16:24:21 +00:00
Fred Drake
8f6b958fdb
Use {memberdesc} to mark the instance attributes.
1998-04-11 15:11:55 +00:00
Fred Drake
7dba8e2ab4
Hmmm... better add some \label macros for logical addressing while I'm at it.
1998-04-11 13:51:05 +00:00
Fred Drake
2a37455967
It's "Lauder", not "Lauders"!
1998-04-11 13:48:26 +00:00
Fred Drake
e5cf53ad89
Formatting nits.
...
An index entry.
1998-04-11 05:02:45 +00:00
Fred Drake
eb4ed15be8
Shift index entries around a little so the HTML doesn't have weird spacing.
1998-04-11 04:52:15 +00:00
Fred Drake
1e0f8bfea9
Add imaplib to appropriate lists.
1998-04-11 04:27:07 +00:00
Fred Drake
36751b0ed2
Remove obsolete module soundex from list of modules.
1998-04-11 04:23:07 +00:00
Fred Drake
c48b772a77
Remove obsolete module rand from list of modules.
...
Add fileinput to list.
1998-04-11 04:22:02 +00:00
Fred Drake
89de314cfc
First cut at documentation for imaplib. Based on original documentation by
...
Piers Lauders.
1998-04-11 04:19:04 +00:00
Fred Drake
007bac3b0b
Added smtplib.py (thanks, Guido!).
1998-04-09 18:54:01 +00:00
Fred Drake
2cb824cbf9
Don't use \samp when \code is better.
...
Consistently use ' instead of ": this conforms to my unofficial stance that
constants should be presented using the repr() whenever it makes sense. This
isn't because I think repr() is the greatest thing since spam, just that it's
an easy to adopt consistency standard. (It also holds no new surprises!)
1998-04-09 18:10:35 +00:00
Fred Drake
45c634ecae
Work around a small (& annoying) limitation of the latex2html support for
...
\seemodule. This is far easier than figuring out the real problem, but it
works.
1998-04-09 15:44:58 +00:00
Fred Drake
8a254b5967
Removed misleading comment about GNU software. This module and the zlib
...
library have no relationship with GNU software other than implementing some of
the same algorithms and file format. (The zlib module is more general.)
1998-04-09 15:41:44 +00:00
Andrew M. Kuchling
253328104f
Many markup changes (to \regexp, mostly)
...
Clarified text on 8-bit cleanness, complemented sets like [^5], and {m,n}
qualifier.
1998-04-09 14:56:04 +00:00
Fred Drake
20ca9171c1
Don't assume that \version expands to the 3-character major.minor number; it
...
is the full release version name ("1.5.1beta1", for instance).
Add section for previously documented obsolete modules. Includes ni, rand,
and soundex.
1998-04-09 14:32:28 +00:00
Fred Drake
363ab1a613
Comment out the soundex section.
1998-04-09 14:23:48 +00:00
Fred Drake
2de75ec245
Don't assume that \version expands to the 3-character major.minor number; it
...
is the full release version name ("1.5.1beta1", for instance).
1998-04-09 14:12:11 +00:00
Fred Drake
9da38814a3
Use the correct URL to AMK's regex-to-re HOWTO!
1998-04-09 14:06:33 +00:00
Fred Drake
54c3947fbc
Updated URL to AMK's regex-to-re HOWTO.
1998-04-09 14:03:00 +00:00
Fred Drake
5406e7071f
Added reference to AMK's HOWTO on the topic.
1998-04-09 14:02:02 +00:00
Fred Drake
223395c0a0
Added imaplib.
1998-04-09 13:55:06 +00:00
Fred Drake
b8efda01e6
Update URL to the related HOWTO document.
1998-04-09 13:49:18 +00:00
Fred Drake
bd400881dd
Add section for ni back in, but comment it out.
1998-04-09 11:04:19 +00:00
Fred Drake
eac469ca3d
Commented out sections on obsolete & Macintosh modules.
1998-04-09 04:51:07 +00:00
Fred Drake
f1b72ddf82
Reduced description of the obsolete method Stats.ignore().
1998-04-09 04:49:56 +00:00
Guido van Rossum
ae2be7144d
Correct definition of CTIME.
1998-04-08 22:44:25 +00:00
Fred Drake
2764dd33cf
Separate sections on anydbm and dumbdbm.
...
This is the last separation; each module now gets its own section. This will
be useful in performing conversions.
1998-04-07 22:08:02 +00:00
Fred Drake
8e729ec31a
Caught a few more spurious \setindexsubitem macros....
1998-04-07 22:06:41 +00:00
Fred Drake
a3f5c32f18
Removed unnecessary \setindexsubitem.
1998-04-07 21:45:52 +00:00
Fred Drake
1ce3604cfd
Separate UserDict and UserList documentation into separate sections.
1998-04-07 20:05:33 +00:00
Fred Drake
c708605f4f
Added a reference to the discussion in Knuth's "Sorting and Searching", and
...
noted that the original algorithm produces 4-character results rather than
the 6-character results provided by this module.
1998-04-07 19:58:19 +00:00
Fred Drake
396b827a93
Minor markup nit.
1998-04-07 19:17:27 +00:00
Fred Drake
82d493fb96
Fixed some index entries.
1998-04-07 19:14:17 +00:00
Fred Drake
6b9ff7257b
Added entry for wdb.
1998-04-07 19:09:32 +00:00
Fred Drake
810349b685
Fix the formatting of the list of fields in the disassemble() function.
1998-04-07 14:16:41 +00:00
Fred Drake
272fb3aaa4
Added poplib.
...
Made the module lists look like the other module lists in the documentation.
1998-04-07 14:15:28 +00:00