Fred Drake
3fccd9512b
fix a bunch of spelling errors
...
(closes SF patch #1104868 )
2005-01-19 03:45:39 +00:00
Fred Drake
b7754e120b
Fix SF bug #1061770 : Manual typesets bit-shift operators as guillemet
2004-11-11 06:16:42 +00:00
Fred Drake
e1938069b1
clarify trailing comma in function argument list
...
(SF bug #798652 )
2004-11-02 18:59:18 +00:00
Raymond Hettinger
335cdc0a14
SF bug #940579 : section 5.10: 'not' returns boolean, not int
2004-04-23 17:14:35 +00:00
Alex Martelli
024033bd4f
clarified (in the 5.14 summary) that tests and comparisons all chain,
...
added a specific \ref to 5.9 in lieu of previous vague "see above".
2003-11-02 16:11:48 +00:00
Martin v. Löwis
f0a8343db5
Patch #821093 : Fix various typos.
2003-10-19 07:31:15 +00:00
Fred Drake
25b5358cf2
Add definitions of the test and testlist symbols in the grammar so
...
there are no gaps in the definitions.
Closes SF bug #726150 .
2003-06-27 17:12:43 +00:00
Raymond Hettinger
d0cda1dc9f
SF patch #760792 : "wo" in "word" now valid but not documented as such
...
Revised version of a contribution from Gerrit Holl.
Update the docs for the extended behavior of __contains__
2003-06-26 19:32:10 +00:00
Raymond Hettinger
daa340418b
* Fixed an unmatched parenthesis early in the text.
...
* Clarified the meaning of lexicographic sequence ordering as discussed on
comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493
2003-06-26 17:41:40 +00:00
Raymond Hettinger
b268f03459
SF bug #749759 : comparisons yield bool not int
...
Minor documentation fix.
2003-06-06 02:52:14 +00:00
Neal Norwitz
4efd91713b
Add a space after expression to be consistent
2003-04-10 21:51:29 +00:00
Gustavo Niemeyer
78429a6aa6
Fixing bug
...
[#448679 ] Left to right
* Python/compile.c
(com_dictmaker): Reordered evaluation of dictionaries to follow strict
LTR evaluation.
* Lib/compiler/pycodegen.py
(CodeGenerator.visitDict): Reordered evaluation of dictionaries to
follow strict LTR evaluation.
* Doc/ref/ref5.tex
Documented the general LTR evaluation order idea.
* Misc/NEWS
Documented change in evaluation order of dictionaries.
2002-12-16 13:54:02 +00:00
Gustavo Niemeyer
f955412130
* Doc/ref/ref5.tex
...
Fixed minor bug preventing documentation compilation.
2002-11-26 18:14:35 +00:00
Tim Peters
5b21df4a5c
Repaired inaccuracies in the % docs. In particular, we don't (and can't)
...
guarantee abs(x%y) < abs(y) in all cases when a float is involved.
math.fmod() should, though, so noted that too.
Bugfix candidate. Someone should check the LaTeX here first, though.
2002-11-24 20:23:04 +00:00
Fred Drake
ce5619e8a1
Update: Older versions of Python crashed when calling repr()
...
(including the implied call using back-ticks) of a recursive object,
but this is no longer the case.
Reported by Manus Hand via email.
2002-11-13 15:32:34 +00:00
Raymond Hettinger
0da7f39a7c
Closes SF bug #634069 reporting the docs on the ** operator were out
...
of date and did not reflect the current CPython implementation.
2002-11-08 05:30:23 +00:00
Raymond Hettinger
463bfafd24
Clarify deprecation of the floor div operator, modulo operator,
...
and divmod() function for complex numbers.
Closes SF Bug 621708: Unclear deprecation.
2002-10-11 21:08:02 +00:00
Fred Drake
74653820e3
Modified presentation of the grammar for calls to be easier to read
...
for both HTML and typeset renderings. Corresponds to revision
1.53.4.8 on the r22-maint branch.
2002-10-07 16:28:38 +00:00
Raymond Hettinger
7fd9ced4ca
Minor English grammar correction
2002-06-25 04:04:14 +00:00
Fred Drake
e08c9dbffc
Simplify the production for argument list, making sure that it
...
actually allows all the legal syntax, and nothing else. Previously,
it did not allow a call like func(arg, **dictionary).
This closes (again!) SF bug #493243 .
2002-06-20 14:23:15 +00:00
Fred Drake
074712112b
Played contortionist games with the argument_list production so it
...
might be easier to understand.
This relates to SF bug #493243 , which will be closed.
2002-06-18 18:42:01 +00:00
Raymond Hettinger
6cf09f0792
Patch 543387. Document deprecation of complex %, //,and divmod().
2002-05-21 18:19:49 +00:00
Fred Drake
af93c4c8d9
Added a missing "|" in the grammar productions used in the reference manual
...
(reported by François Pinard).
Added some missing "_" characters in the same cluster of productions.
Added missing floor division operator in m_expr production, and mention
floor division in the relevant portion of the text.
2002-04-30 02:18:51 +00:00
Fred Drake
fd867719bc
Fix typo: coverted --> converted. Reported by Francois Pinard.
2002-04-09 14:39:10 +00:00
Jeremy Hylton
2225add242
Given lambda its own section, instead of burying it in boolean operators.
2002-04-01 21:05:21 +00:00