Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1489771: update syntax rules in Python Reference Manual. | Žiga Seilnacht | 2007-03-24 | 1 | -24/+162 |
| | | | | | | | | Python 2.5 added support for explicit relative import statements and yield expressions, which were missing in the manual. Also fix grammar productions that used the names from the Grammar file, markup that broke the generated grammar.txt, and wrap some lines that broke the pdf output. Will backport. | ||||
* | Bug #1501122: mention __gt__ &co in description of comparison order. | Georg Brandl | 2006-06-14 | 1 | -2/+6 |
| | |||||
* | End of Ch.3 is now about "with statement". | George Yoshida | 2006-05-27 | 1 | -3/+3 |
| | | | | Avoid obsolescence by directly referring to the section. | ||||
* | minor markup nits | George Yoshida | 2006-05-27 | 1 | -1/+2 |
| | |||||
* | avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to | Fred Drake | 2006-05-03 | 1 | -1/+1 |
| | | | | guillemets; no need for magic here | ||||
* | Note version added for conditional expressions | Neal Norwitz | 2006-02-27 | 1 | -1/+1 |
| | |||||
* | PEP 308 implementation, including minor refdocs and some testcases. It | Thomas Wouters | 2006-02-27 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | breaks the parser module, because it adds the if/else construct as well as two new grammar rules for backward compatibility. If no one else fixes parsermodule, I guess I'll go ahead and fix it later this week. The TeX code was checked with texcheck.py, but not rendered. There is actually a slight incompatibility: >>> (x for x in lambda:0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: iteration over non-sequence changes into >>> (x for x in lambda: 0) File "<stdin>", line 1 (x for x in lambda: 0) ^ SyntaxError: invalid syntax Since there's no way the former version can be useful, it's probably a bugfix ;) | ||||
* | Add markup to a "Python Standard Library" doc reference I added for bug 839585. | Georg Brandl | 2006-01-20 | 1 | -2/+3 |
| | |||||
* | Bug #839585: mention % string operator in language ref | Georg Brandl | 2005-12-26 | 1 | -0/+6 |
| | |||||
* | Empty sets and frozensets are also false. | Georg Brandl | 2005-08-21 | 1 | -3/+3 |
| | |||||
* | Mention explicitly the False is considered false. | Georg Brandl | 2005-08-21 | 1 | -3/+3 |
| | |||||
* | fix a bunch of spelling errors | Fred Drake | 2005-01-19 | 1 | -1/+1 |
| | | | | (closes SF patch #1104868) | ||||
* | SF Patch #1093896: miscellaneous doc typos | Raymond Hettinger | 2005-01-01 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #1061770: Manual typesets bit-shift operators as guillemet | Fred Drake | 2004-11-11 | 1 | -1/+2 |
| | |||||
* | clarify trailing comma in function argument list | Fred Drake | 2004-11-02 | 1 | -2/+2 |
| | | | | (SF bug #798652) | ||||
* | Patch #1042969: add closing brace for \token {generator_expression}. Thanks | Johannes Gijsbers | 2004-10-09 | 1 | -1/+1 |
| | | | | George Yoshida! | ||||
* | SF patch #872326: generator expression implementation | Raymond Hettinger | 2004-08-15 | 1 | -1/+46 |
| | | | | | | (Contributed by Jiwon Seo.) Add genexps to the reference manual. | ||||
* | [Bug #827209] Add footnote from Alex M. about listcomps leaking their index ↵ | Andrew M. Kuchling | 2004-08-07 | 1 | -1/+5 |
| | | | | variables | ||||
* | Move grammar rule for lambda_form into section on lambdas. Fixes #964525. | Martin v. Löwis | 2004-06-02 | 1 | -2/+5 |
| | |||||
* | SF bug #940579: section 5.10: 'not' returns boolean, not int | Raymond Hettinger | 2004-04-23 | 1 | -4/+4 |
| | |||||
* | clarified (in the 5.14 summary) that tests and comparisons all chain, | Alex Martelli | 2003-11-09 | 1 | -3/+3 |
| | | | | | added a specific \ref to 5.9 in lieu of previous vague "see above". (same as commit of Sun Nov 2 to the release23-maint branch) | ||||
* | Patch #821093: Fix various typos. | Martin v. Löwis | 2003-10-19 | 1 | -1/+1 |
| | |||||
* | - create a hyperlink for a section reference (also more robust in the | Fred Drake | 2003-09-06 | 1 | -4/+4 |
| | | | | | face of section re-ordering) - fix minor markup nits for better presentation | ||||
* | Add definitions of the test and testlist symbols in the grammar so | Fred Drake | 2003-06-27 | 1 | -0/+5 |
| | | | | | there are no gaps in the definitions. Closes SF bug #726150. | ||||
* | SF patch #760792: "wo" in "word" now valid but not documented as such | Raymond Hettinger | 2003-06-26 | 1 | -4/+7 |
| | | | | | | Revised version of a contribution from Gerrit Holl. Update the docs for the extended behavior of __contains__ | ||||
* | * Fixed an unmatched parenthesis early in the text. | Raymond Hettinger | 2003-06-26 | 1 | -2/+10 |
| | | | | | * Clarified the meaning of lexicographic sequence ordering as discussed on comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493 | ||||
* | SF bug #749759: comparisons yield bool not int | Raymond Hettinger | 2003-06-06 | 1 | -1/+1 |
| | | | | Minor documentation fix. | ||||
* | Add a space after expression to be consistent | Neal Norwitz | 2003-04-10 | 1 | -1/+1 |
| | |||||
* | Fixing bug | Gustavo Niemeyer | 2002-12-16 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | [#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. | ||||
* | * Doc/ref/ref5.tex | Gustavo Niemeyer | 2002-11-26 | 1 | -1/+1 |
| | | | | Fixed minor bug preventing documentation compilation. | ||||
* | Repaired inaccuracies in the % docs. In particular, we don't (and can't) | Tim Peters | 2002-11-24 | 1 | -3/+14 |
| | | | | | | | 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. | ||||
* | Update: Older versions of Python crashed when calling repr() | Fred Drake | 2002-11-13 | 1 | -3/+5 |
| | | | | | | (including the implied call using back-ticks) of a recursive object, but this is no longer the case. Reported by Manus Hand via email. | ||||
* | Closes SF bug #634069 reporting the docs on the ** operator were out | Raymond Hettinger | 2002-11-08 | 1 | -4/+14 |
| | | | | of date and did not reflect the current CPython implementation. | ||||
* | Clarify deprecation of the floor div operator, modulo operator, | Raymond Hettinger | 2002-10-11 | 1 | -5/+4 |
| | | | | | | and divmod() function for complex numbers. Closes SF Bug 621708: Unclear deprecation. | ||||
* | Modified presentation of the grammar for calls to be easier to read | Fred Drake | 2002-10-07 | 1 | -4/+5 |
| | | | | | for both HTML and typeset renderings. Corresponds to revision 1.53.4.8 on the r22-maint branch. | ||||
* | Minor English grammar correction | Raymond Hettinger | 2002-06-25 | 1 | -1/+1 |
| | |||||
* | Simplify the production for argument list, making sure that it | Fred Drake | 2002-06-20 | 1 | -4/+4 |
| | | | | | | 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. | ||||
* | Played contortionist games with the argument_list production so it | Fred Drake | 2002-06-18 | 1 | -4/+4 |
| | | | | | might be easier to understand. This relates to SF bug #493243, which will be closed. | ||||
* | Patch 543387. Document deprecation of complex %, //,and divmod(). | Raymond Hettinger | 2002-05-21 | 1 | -3/+8 |
| | |||||
* | Added a missing "|" in the grammar productions used in the reference manual | Fred Drake | 2002-04-30 | 1 | -7/+9 |
| | | | | | | | (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. | ||||
* | Fix typo: coverted --> converted. Reported by Francois Pinard. | Fred Drake | 2002-04-09 | 1 | -1/+1 |
| | |||||
* | Given lambda its own section, instead of burying it in boolean operators. | Jeremy Hylton | 2002-04-01 | 1 | -30/+7 |
| | |||||
* | Update / simplify Identifiers section for nested scopes. | Jeremy Hylton | 2002-04-01 | 1 | -18/+2 |
| | | | | How do I create a cross reference to section 4.1? | ||||
* | Fix up unescaped tilde; reported by several people. | Fred Drake | 2002-03-18 | 1 | -1/+1 |
| | |||||
* | Markup error: braces not properly marked in dictionary display | Fred Drake | 2002-03-16 | 1 | -1/+1 |
| | | | | | grammer productions. Fixes SF bug #520959. | ||||
* | Revise the markup related to the grammar productions to increase the | Fred Drake | 2002-03-15 | 1 | -16/+14 |
| | | | | | | level of predictability. This is not really "good" markup, but is arguably better than we had before. This closes SF bug #523117. | ||||
* | Work around the problem of spaces after a "}" being dropped by LaTeX2HTML if | Fred Drake | 2001-12-14 | 1 | -5/+5 |
| | | | | | they were represented by newlines in the document source. Partially fixes SF bug #493243. | ||||
* | Fix for | Michael W. Hudson | 2001-12-12 | 1 | -2/+45 |
| | | | | [ #429329 ] actual-parameters *arg, **kws not doc'd | ||||
* | Removed stray backslash (a typo -- my fault). | Tim Peters | 2001-10-01 | 1 | -1/+1 |
| | |||||
* | The description of dictionary comparison was out of date. Rather than | Tim Peters | 2001-10-01 | 1 | -9/+12 |
| | | | | | | try to explain the complex general scheme we actually use now, I decided to spell out only what equality means (which is easy to explain and intuitive), leaving the other outcomes unspecified beyond consistency. |