Commit Graph

2396 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
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
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
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
Barry Warsaw
31643ee39c Backporting docs for email 2.5 2003-03-21 21:24:27 +00:00
Fred Drake
bdd096a927 - added example of using a comparison function with list.sort(), and
explained the construction of a [(key, value), ...] list as an
  alternative
- backport additional notes on list use from Python 2.3 documentation;
  mostly warnings about what not to rely on
2003-03-20 22:20:43 +00:00
Fred Drake
158303a52d - explain what a UNC path is in the makedirs() description, since
they're actually mentioned there
2003-03-20 17:42:48 +00:00
Neal Norwitz
614479d93d SF bug #697220, string.strip implementation/doc mismatch 2003-03-04 17:44:34 +00:00
Gustavo Niemeyer
fac559c533 Backported fix to [521782] unreliable file.read() error handling. 2003-03-04 00:50:24 +00:00
Raymond Hettinger
a4ecf115e6 Typo 2003-02-21 06:05:45 +00:00
Raymond Hettinger
f5908e15d5 Backport libtime.tex 1.53:
Fixed longstanding bug in the description of strftime's %W code.
2003-02-21 05:59:16 +00:00
Raymond Hettinger
8b563c4297 Backport 1.7: Clarify when a read-only object is created. 2003-02-21 04:22:47 +00:00