Commit Graph

77721 Commits

Author SHA1 Message Date
Georg Brandl 9ad417ee81 Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@. 2013-10-06 19:23:57 +02:00
Georg Brandl ac39addd72 Fix typo in example file name. Found by John Bokma on docs@. 2013-10-06 19:21:14 +02:00
Georg Brandl 6647a719bc Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@. 2013-10-06 19:19:18 +02:00
Georg Brandl f6d6347fc0 Fix typo in function name. 2013-10-06 19:14:35 +02:00
Georg Brandl ffb94ae46f Closes #15432: GzipFile mtime argument is new in 3.1. 2013-10-06 19:02:08 +02:00
Georg Brandl 9ad5bf662d Closes #15228: remove reference to Unix "touch"; it is confusing since the path needs to exist for os.utime() to succeed 2013-10-06 18:57:49 +02:00
Georg Brandl fc9a113418 Closes #11807: document argparse add_subparsers method better.
Patch by Filip Gruszczyński.
2013-10-06 18:51:39 +02:00
Georg Brandl c6a2c9b466 Closes #15213: update comment for _PyOS_URandom 2013-10-06 18:43:19 +02:00
Georg Brandl 7d07833655 Closes #17725: small grammar fix. 2013-10-06 18:36:34 +02:00
Georg Brandl 6e94a3098e The "FAQ" link at the end was changed to a Wikipedia link; reflect that. 2013-10-06 18:26:36 +02:00
Georg Brandl 4a6cf6c9d1 Closes #19177: replace dead link to SSL/TLS introduction with the version from Apache. 2013-10-06 18:20:31 +02:00
Georg Brandl 036e41de52 Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. 2013-10-06 18:17:56 +02:00
Georg Brandl 0bbbeb59f4 Closes #12350: clarify blocks/block size members of stat result. 2013-10-06 18:11:32 +02:00
Georg Brandl df40e860d3 Fix typo. Spotted by Bo Bayles on docs@. 2013-10-06 13:24:49 +02:00
Georg Brandl 1cef264326 Fix link to the "pexports" tool. Found by Joe Aikkaravelil on docs@. 2013-10-06 13:20:49 +02:00
Georg Brandl 9c2505b8fc Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@. 2013-10-06 13:17:04 +02:00
Georg Brandl 49c6fc9679 Minor improvement: add indication that the main function goes on. 2013-10-06 13:14:10 +02:00
Georg Brandl ed86ff868a Fix missing class name in markup. Found by Tanky Woo on docs@. 2013-10-06 13:09:59 +02:00
Georg Brandl e47e184c4a Unicode howto: use .txt as a more universally understood extension for text files. 2013-10-06 13:07:10 +02:00
Georg Brandl a12b682033 Add missing list methods. Found by Leonardo Pereira on docs@. 2013-10-06 13:01:19 +02:00
Georg Brandl 2070e83f28 Fix example in backreference description. Found by Alexander Heger on docs@. 2013-10-06 12:58:20 +02:00
Georg Brandl a0b792354e Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@. 2013-10-06 12:52:49 +02:00
Georg Brandl 0688d68d14 PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.
Found by Helge Stenström on docs@.
2013-10-06 12:46:13 +02:00
Georg Brandl d277a56af3 Fix minor bug in httplib example. Found by Alex MacAulay on docs@. 2013-10-06 12:42:18 +02:00
Georg Brandl 3c1271142d Fix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@. 2013-10-06 12:38:44 +02:00
Georg Brandl 87f3d7bb54 Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@. 2013-10-06 12:36:39 +02:00
Georg Brandl f27bfd81ec Fix typo. 2013-10-06 12:33:20 +02:00
Georg Brandl 3c6780c6d8 Closes #15956: improve documentation of named groups and how to reference them. 2013-10-06 12:08:14 +02:00
Georg Brandl 60e602dcc6 Fix small grammar mistake. 2013-10-06 11:57:13 +02:00
Georg Brandl a710fdae1c Fix missing period. 2013-10-06 11:12:29 +02:00
Georg Brandl 22a1fd75cc Fix wrong Python highlighting in directory hierarchy code block. 2013-10-06 11:08:24 +02:00
Georg Brandl 337672b76c Small clarification in extending docs. 2013-10-06 11:02:38 +02:00
Georg Brandl b33c6eb640 Closes #13951: Add a "faulthandler" reference in the ctypes docs talking about crashes. 2013-10-06 10:51:01 +02:00
Georg Brandl b19ef1846c Closes #18927: Lock.acquire only accepts -1 or positive values for timeout. 2013-10-06 10:48:08 +02:00
Georg Brandl 242e6a0bce Use "lambda expression" as preferred to "lambda form". 2013-10-06 10:28:39 +02:00
Georg Brandl de5aff1bdc Closes #18646: improve lambda docs in tutorial. Original patch by Terry Reedy. 2013-10-06 10:22:45 +02:00
Georg Brandl 58d58dad56 Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@). 2013-10-06 10:11:12 +02:00
Georg Brandl dbab26a8c9 curses HOWTO: fix some PEP8 and a code example to actually raise the exception it promises. 2013-10-06 10:04:21 +02:00
Georg Brandl f6324941f0 Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change time 2013-10-06 09:52:55 +02:00
Georg Brandl d2914ce0f7 Fix prefix_chars not being applied in help text example (reported by John Kooker on docs@) 2013-10-06 09:50:36 +02:00
Georg Brandl 74883a3751 Fix markup to not add parens to the "hashlib.md5" constructor when the object is meant, not the call. 2013-10-06 09:48:47 +02:00
Georg Brandl a0ec296599 Remove newline in method that makes it possible to copy example to the interactive interpreter. 2013-10-06 09:42:46 +02:00
Georg Brandl a84d473f02 Remove dead link to effbot Tkinter introduction material (reported by Ralf Ganswindt from docs@) 2013-10-06 09:32:03 +02:00
Georg Brandl bdaee3ac95 Fix: Element.text is an attribute, not a method (report by Cameron Laird on docs@) 2013-10-06 09:23:03 +02:00
Georg Brandl c2b17b2eba Fix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@) 2013-10-06 09:17:43 +02:00
Georg Brandl 53bf15af47 Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@) 2013-10-06 09:11:14 +02:00
Raymond Hettinger d4b9f925ec Issue 14927: Remove a docstring line that is no longer applicable. 2013-10-05 22:11:16 -07:00
Raymond Hettinger 8fe47c3991 Minor clean-up of function parameters in random(). 2013-10-05 21:48:21 -07:00
Tim Peters 81a93159d7 Issue #19171: speed some cases of 3-argument long pow().
Reduce the base by the modulus when the base is larger than
the modulus.  This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus.  Original patch
by Armin Rigo, inspired by https://github.com/pyca/ed25519.
2013-10-05 16:53:52 -05:00
Ezio Melotti 7760b4eb4b #19069: use imperative mood in float object docstrings. Patch by Marco Buttu. 2013-10-06 00:45:11 +03:00