Commit Graph

4903 Commits

Author SHA1 Message Date
Raymond Hettinger
ceb58a7dd1 Fix nits found by Tools\scripts\texcheck.py 2003-05-16 03:08:36 +00:00
Fred Drake
dc39bc64d4 Add a specific mention of the term "operator overloading" and add an
index entry.  Suggested to python-docs.
2003-05-12 13:50:41 +00:00
Skip Montanaro
8fc096a3d4 add missing parens - verified w/ interpreter - sorry to dismiss your comment
Fred
2003-05-07 16:02:06 +00:00
Skip Montanaro
6069b642bb replace most uses of ... by repr(...), noting that ... is discouraged,
but convenient in interactive sessions.
2003-05-07 15:29:53 +00:00
Fred Drake
594d4c5581 At the site of an indexed reference to print, point to the relevant
documentation.  Closes SF bug #723136.
2003-04-30 16:43:51 +00:00
Fred Drake
7f9cbf1037 - clean up some extra punctuation hidden in indexing markup
- fix a typo and one markup nit
- normalize whitespace
2003-04-29 13:55:20 +00:00
Fred Drake
9a3638fff5 Clarify that the timeout argument to read_until() is in seconds. 2003-04-29 13:38:42 +00:00
Raymond Hettinger
9b88e1587f SF bug #729096: getopt online documentation example improvement
A newbie found it difficult to translate the exampe into a
case that used only short options or long options but not both.
He tried to shorten the tuple search but forgot the trailing comma,
The appropriate pattern is an equality check.

Revised the example to point him in the right direction.
2003-04-29 04:37:13 +00:00
Skip Montanaro
02157566f3 backport of note arising from bug 711019. 2003-04-26 02:59:46 +00:00
Fred Drake
468f44f184 Markup change; make the notice a little stronger by using the "boxed"
version.
2003-04-25 22:09:23 +00:00
Fred Drake
a749183f87 Add modified versions of the examples from Sean Reifschneider
(SF patch #545480).
2003-04-25 15:29:22 +00:00
Raymond Hettinger
368c36f3ac Backport 1.47 and 1.7
SF Patch 549151: urllib2 POSTs on redirect
(contributed by John J Lee)
2003-04-25 05:31:43 +00:00
Fred Drake
2a1ad9cf42 Add cross-references between urllib.urlencode() and cgi.parse_qs[l]().
Closes SF bug #724751.
2003-04-24 16:25:07 +00:00
Fred Drake
052d58782b Include notice that the rotor module will be deprecated in Python 2.3. 2003-04-24 13:47:08 +00:00
Brett Cannon
62308cb897 Fix documentation errors in regards to urlretrieve() and local files.
Also fix typos in urllib lib doc.
2003-04-24 02:46:35 +00:00
Skip Montanaro
f6b74da36a backport note about password limitations 2003-04-23 20:36:18 +00:00
Tim Peters
c18cc56c21 fsync(): Implemented for Windows, via calling MS _commit. This counts
as "a bug" because there's no other way in core Python to ensure that
bytes written are actually on disk.  At least ZODB wants this guarantee,
for robustness against crashes.
2003-04-23 20:14:12 +00:00
Fred Drake
55ed68004a Added documentation for the handle_pi() method, based on SF patch #662464.
Closes SF bug #659188, patch #662464.
2003-04-17 22:37:50 +00:00
Raymond Hettinger
b4d53fda5b As discussed on python-dev, revised docs to note that
PyObject_IsTrue() can have an error result.

Also, added missing docs for PyObject_Not().
2003-04-16 17:30:15 +00:00
Neal Norwitz
9976fdf83c Backport:
Fix SF bug #697220, string.strip implementation/doc mismatch

Attempt to make all the various string/unicode *strip methods the same.
 * Doc - add doc for when functions were added
 * UserString
 * string/unicode object methods
 * string module functions
'chars' is used for the last parameter everywhere.
2003-04-11 18:21:22 +00:00
Fred Drake
273888e56c Backport comments about PyObject_Type() (HEAD revisions 1.24, 1.25). 2003-04-09 18:17:18 +00:00
Fred Drake
71e300eeea Added example of using positional and keyword args with atexit.register().
Based on a suggestion from a reader.
2003-04-08 17:46:33 +00:00
Fred Drake
fb5d378a65 Match some of the markup changes from the trunk. 2003-03-31 16:45:22 +00:00
Fred Drake
b9ea8766c6 Fix symbol in grammar; this should fix some hyperlinking in the HTML
version.
2003-03-31 14:54:18 +00:00
Barry Warsaw
31643ee39c Backporting docs for email 2.5 2003-03-21 21:24:27 +00:00