Commit Graph

7368 Commits

Author SHA1 Message Date
Georg Brandl 6cd5377c72 Empty sets and frozensets are also false. 2005-08-21 12:22:58 +00:00
Raymond Hettinger 1823ae7e36 SF bug #1121416: zip incorrectly and incompletely documented
sequences ==> iterables
2005-08-21 11:58:06 +00:00
Raymond Hettinger a30616a88d SF bug #1249837: container methods raise KeyError not IndexError
Minor clarification.
2005-08-21 11:26:14 +00:00
Georg Brandl b285974c00 Mention explicitly the False is considered false. 2005-08-21 09:41:21 +00:00
Raymond Hettinger 7638249646 Fix PySet_Pop() notes. 2005-08-21 00:08:36 +00:00
Raymond Hettinger 0cbf400419 Add info about the set API. 2005-08-20 23:52:30 +00:00
Andrew M. Kuchling e0245143af Typo fix 2005-08-18 21:45:31 +00:00
Raymond Hettinger 1a663911d2 Fix markup. 2005-08-18 21:27:11 +00:00
Walter Dörwald cca3af3b71 Fix typo (fixes SF bug #1263086). 2005-08-18 19:40:39 +00:00
Raymond Hettinger 94fedf9bfd Expand the API notes. 2005-08-17 12:23:45 +00:00
Raymond Hettinger 0c230b9dac Note that the PyNumber protocol can access most set methods directly. 2005-08-17 10:05:22 +00:00
Raymond Hettinger c47e01d020 Numerous fix-ups to C API and docs. Added tests for C API. 2005-08-16 10:44:15 +00:00
Raymond Hettinger beb3101b05 Add a C API for sets and frozensets. 2005-08-16 03:47:52 +00:00
Andrew M. Kuchling ba7d95e215 Document 'istext' parameter 2005-08-12 14:02:32 +00:00
Fred Drake 9f3ae3e69d fix minor markup errors 2005-08-09 15:24:05 +00:00
Martin v. Löwis ebd9d5ba1a Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Georg Brandl 2772c679e9 bug [ 1252706 ] poplib list() docstring fix (and docs too) 2005-08-05 21:01:58 +00:00
Georg Brandl b370059233 bug [ 1250306 ] incorrect description of range function 2005-08-03 07:17:33 +00:00
Andrew M. Kuchling 6af7fe0563 Add example 2005-08-02 17:20:36 +00:00
Andrew M. Kuchling a2e21cb945 Add note 2005-08-02 17:13:21 +00:00
Georg Brandl f13c4ba11b [ 1243192 ] Incorrect documentation of re.UNICODE 2005-08-02 10:28:08 +00:00
Skip Montanaro 6a694508ae Minor tweak as a side effect of fixing #1243553. The Unicode name for " is
'quotation mark', so I decided to use it instead of 'double-quote'.
2005-08-02 02:53:59 +00:00
Fred Drake fe25643192 use a test for PDF support that is more portable across teTeX major versions
(closes SF bug #1238210)
2005-07-29 17:17:19 +00:00
Vinay Sajip c320c22f79 Documentation added about changes in 2.4 to basicConfig(), including documentation of the keyword arguments. A version change note was also added to the basic example. 2005-07-29 11:52:19 +00:00
Georg Brandl 7eb4b7d177 Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Georg Brandl 08c02dbb85 [ 1243081 ] repair typos 2005-07-22 18:39:19 +00:00
Fred Drake 21c825417f add information about alternate implementations, noting that documentation
for the implementation should be consulted
(thanks to Evelyn Mitchell for suggesting this)
2005-07-20 04:33:01 +00:00
Fred Drake d5ecb513ad fix markup nits 2005-07-20 03:49:42 +00:00
Georg Brandl 2d8cc618db [ 755617 ] os module: Need a better description of "mode" 2005-07-18 08:16:33 +00:00
Georg Brandl 2982252452 bug [ 850238 ] unclear documentation/missing command? 2005-07-18 08:04:17 +00:00
Georg Brandl ca5feabac2 bug [ 957505 ] SocketServer module documentation misleading 2005-07-18 07:38:44 +00:00
Georg Brandl c48a740887 bug [ 1021621 ] use first_name, not first, in code samples 2005-07-17 21:18:25 +00:00
Georg Brandl b37b8eca88 bug [ 872769 ] os.access() documentation should stress race conditions 2005-07-17 21:10:11 +00:00
Georg Brandl 75d5106bd0 [ 912943 ] 7.5.6 Thread Objects is too vague 2005-07-17 21:00:26 +00:00
Georg Brandl 5dbda75a02 - Bug #1015140: disambiguated the term "article id" in nntplib docs and
docstrings to either "article number" or "message id".
2005-07-17 20:27:41 +00:00
Georg Brandl 0e03272350 bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated 2005-07-17 20:05:25 +00:00
Skip Montanaro 7a7b350375 use macro 2005-07-17 15:34:58 +00:00
Skip Montanaro bbf74f9d7b Note that usegmt is new in 2.4. Closes #1239681. 2005-07-17 11:47:46 +00:00
Georg Brandl 5c5fe2f445 RFE [ 1216944 ] Add Error Code Dictionary to urllib2 2005-07-14 06:40:47 +00:00
Georg Brandl b9ab7a584d Oops. 2005-07-12 13:20:49 +00:00
Georg Brandl 9abfa90a6d bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding" 2005-07-12 13:17:59 +00:00
Georg Brandl 208eec2cad bug [ 1235266 ] debug info file descriptor of tarfile is inconsistent 2005-07-12 07:28:20 +00:00
Georg Brandl 8b687cf683 bug [ 969757 ] function and method objects confounded in Tutorial 2005-07-08 21:36:36 +00:00
Georg Brandl 290f3829d7 Revert patch for 1162912. 2005-07-04 14:17:47 +00:00
Georg Brandl f73b4b0077 bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage 2005-07-03 20:21:40 +00:00
Georg Brandl 9a65d583ac Add doctest for examples in libweakref.tex to test_weakref. 2005-07-02 19:07:30 +00:00
Georg Brandl 376e6227b4 bug [ 1228904 ] weakref example broken 2005-07-02 10:44:32 +00:00
Georg Brandl 1c330eb9eb Patch [ 1230615 ] Patch for (Doc) #1168746
Bug [ 1204734 ] incorrect description of __getattribute__
2005-07-02 10:27:31 +00:00
Raymond Hettinger 452b6834f0 Cross reference the set built-ins with the sets module. 2005-07-01 23:18:36 +00:00
Raymond Hettinger 16ffbc3d10 Provide a comparison to the builtin set types. 2005-07-01 23:00:13 +00:00
Raymond Hettinger 87de8ed4b9 More info on rounding modes. Add sections for floating point notes. 2005-07-01 16:54:12 +00:00
Raymond Hettinger 02c64d5684 Note that files are iterable. 2005-06-28 00:16:08 +00:00
Raymond Hettinger 5a34afb745 * Show the keyword argument form of dict().
* Note that dict works with the "in" keyword.
2005-06-27 23:36:47 +00:00
Fred Drake 3e3b699adf add note that os.EX_* constants are subject to availability on the host
platform
2005-06-27 23:23:43 +00:00
Georg Brandl 54d8b680e0 bug [ 1166582 ] IterableUserDict not in docs 2005-06-25 21:03:52 +00:00
Georg Brandl 6df3fd3790 bug [ 1186072 ] tempnam doc doesn't include link to tmpfile 2005-06-25 20:44:10 +00:00
Georg Brandl e21d9ab342 bug [ 1175022 ] property example code error 2005-06-25 20:07:36 +00:00
Georg Brandl 03dbb4f50d Bug [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG 2005-06-25 19:55:04 +00:00
Georg Brandl 71de040b82 bug [ 1202475 ] httplib docs mentioning HTTPConnection.getreply 2005-06-25 19:15:48 +00:00
Georg Brandl 0929b7e5f7 Patch [ 1213031 ] note that os.chown can have -1 as an argument 2005-06-25 18:52:24 +00:00
Georg Brandl 3da85ec682 correcting duplicate TeX markup 2005-06-25 18:46:09 +00:00
Georg Brandl 837a9769c9 Bug [ 1225705 ] os.environ documentation should mention unsetenv 2005-06-25 18:44:49 +00:00
Georg Brandl 9020a21b7c Patch #1227442: smtplib.SMTP.sendmail() accepts a string or list as to_addrs. 2005-06-25 18:24:03 +00:00
Michael W. Hudson fb662972e0 Add a(nother) warning about mixing Py_NewInterpreter and the
PyGILState_* functions.
2005-06-20 16:37:03 +00:00
Michael W. Hudson 7b279078c0 fix some silly whitespace stuff (must have hit M-q or something?) 2005-06-20 12:12:45 +00:00
Georg Brandl f33f5e9d6e Bug #1209560: spurious blank page in dist.pdf 2005-06-18 20:11:40 +00:00
Georg Brandl 2e36f450f4 Patch #1180012: add documentation for modulefinder 2005-06-18 20:06:15 +00:00
Neil Schemenauer c49322951f Fix grammar (it's -> its). 2005-06-18 17:54:13 +00:00
Raymond Hettinger 610d9dd38d Fix typo. 2005-06-17 10:25:33 +00:00
Raymond Hettinger ed65c3ad76 Fix nits. 2005-06-15 16:53:31 +00:00
Michael W. Hudson 744ff388ff Missed this documentation change about my marshal-floats-binarywise
change.
2005-06-15 11:38:01 +00:00
Andrew M. Kuchling 8960c7e7e4 [Bug #1219862] Document correct argument range for pair_content() 2005-06-14 14:45:24 +00:00
Raymond Hettinger eeed58cd25 SF bug #1219448: small output bug 2005-06-14 08:57:28 +00:00
Raymond Hettinger 24d7521985 SF bug #1215887: String and list methods documentation deeply hidden
Make doc on specific types easier to find by listing them in the headings
for the abstract types.
2005-06-14 08:45:43 +00:00
Gregory P. Smith 2e23e08f04 fix typo. \var vs \variable 2005-06-11 08:16:04 +00:00
Georg Brandl debd3710b6 Clarify docs about os.popen[234]. 2005-06-10 19:55:35 +00:00
Armin Rigo d6ebb5172e The functions audioop.lin2adpcm3() and audioop.adpcm32lin() were removed from
this module in Jan 1994, but still documented.
2005-06-10 15:29:22 +00:00
Raymond Hettinger 68c0453418 Add untokenize() function to allow full round-trip tokenization.
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
2005-06-10 11:05:19 +00:00
Andrew M. Kuchling 4aef245827 [Bug #1079134] Mention change to date comparisons; bump version info and release date to 2.4.1 2005-06-09 15:57:32 +00:00
Andrew M. Kuchling 8dbe1a70d7 [Bug #1149413] 'psize' argument should be 'pgsize' 2005-06-08 21:51:28 +00:00
Skip Montanaro 684364c646 Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are
present.
2005-06-08 02:28:11 +00:00
Andrew M. Kuchling 8f6f08c5d4 [Bug #1170422] Use correct option name 2005-06-07 18:51:42 +00:00
Raymond Hettinger d391d10d2e Add a decimal FAQ 2005-06-07 18:50:56 +00:00
Vinay Sajip 4c1423bb7a Documentation clarified re. config socket listener protocol 2005-06-05 20:39:36 +00:00
Georg Brandl b6c1bb883e Bug #1184380: extending&embedding example broken 2005-06-05 10:56:59 +00:00
Georg Brandl 89f000e7a8 Bug #1210001: typo in email doc 2005-06-04 10:01:15 +00:00
Hye-Shik Chang 4c560ea05b Correct URL to the official UnicodeData 3.2.0 resource. (Reported
by Darek Suchojad)
2005-06-04 07:31:48 +00:00
Andrew M. Kuchling 921879abc2 [Bug #1209880] Describe only the True/False return values from lock.acquire() 2005-06-02 16:59:18 +00:00
Andrew M. Kuchling 6a15c5d038 [Bug #1193001] Make the notation section use the same productionlist env. as other grammar rules 2005-06-02 13:50:19 +00:00
Hye-Shik Chang 5f937a7b8b Patch #1212117: Add optional attribute st_flags to os.stat_result
when the member is available on the platform. (Contributed by
Diego Petteno)
2005-06-02 13:09:30 +00:00
Piers Lauder d80ef02ec0 added GET/SETANNOTATION methods 2005-06-01 23:50:52 +00:00
Andrew M. Kuchling a0abb24729 [Bug #1105706] Use correct name for constant 2005-06-01 23:31:18 +00:00
Andrew M. Kuchling 79cf9d8e7f [Bug #1123268] Fix typo 2005-06-01 23:22:11 +00:00
Andrew M. Kuchling 1a5152d94b [Bug #1181939] Remove incorrect text about __init__; move map discussion into a separate paragraph 2005-06-01 15:39:57 +00:00
Andrew M. Kuchling 597bd60ef1 [Bug #1194249] Fix duplicate assignment in example code 2005-06-01 15:26:24 +00:00
Raymond Hettinger dede3bdfa1 SF bug #1209411: divmod documentation shd reference // not / 2005-05-31 11:04:00 +00:00
Raymond Hettinger 7bebbe7673 SF bug #1202395: Description of string.lstrip() needs improvement
Clarify the role of the chars argument in the strip() methods.
2005-05-31 10:26:28 +00:00
Raymond Hettinger 631bfe602f SF bug #1209671: dict.popitem documentation should mention empty dict case 2005-05-27 10:43:55 +00:00
Michael W. Hudson 2f475a7bc8 Fix:
[ 1207501 ] Issue in grammar

We didn't define dotted_name in the pseudo-grammar in the reference
docs.  Backport candidate.
2005-05-26 07:58:22 +00:00
Fred Drake b141cd03a1 fix description of the input range of unichr()
(closes SF bug #1120777)
2005-05-25 05:39:36 +00:00