summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref5.tex
Commit message (Collapse)AuthorAgeFilesLines
* Move grammar rule for lambda_form into section on lambdas. Fixes #964525.Martin v. Löwis2004-06-021-2/+5
|
* SF bug #940579: section 5.10: 'not' returns boolean, not intRaymond Hettinger2004-04-231-4/+4
|
* clarified (in the 5.14 summary) that tests and comparisons all chain,Alex Martelli2003-11-091-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öwis2003-10-191-1/+1
|
* - create a hyperlink for a section reference (also more robust in theFred Drake2003-09-061-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 soFred Drake2003-06-271-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 suchRaymond Hettinger2003-06-261-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 Hettinger2003-06-261-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 intRaymond Hettinger2003-06-061-1/+1
| | | | Minor documentation fix.
* Add a space after expression to be consistentNeal Norwitz2003-04-101-1/+1
|
* Fixing bugGustavo Niemeyer2002-12-161-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.texGustavo Niemeyer2002-11-261-1/+1
| | | | Fixed minor bug preventing documentation compilation.
* Repaired inaccuracies in the % docs. In particular, we don't (and can't)Tim Peters2002-11-241-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 Drake2002-11-131-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 outRaymond Hettinger2002-11-081-4/+14
| | | | of date and did not reflect the current CPython implementation.
* Clarify deprecation of the floor div operator, modulo operator,Raymond Hettinger2002-10-111-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 readFred Drake2002-10-071-4/+5
| | | | | for both HTML and typeset renderings. Corresponds to revision 1.53.4.8 on the r22-maint branch.
* Minor English grammar correctionRaymond Hettinger2002-06-251-1/+1
|
* Simplify the production for argument list, making sure that itFred Drake2002-06-201-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 itFred Drake2002-06-181-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 Hettinger2002-05-211-3/+8
|
* Added a missing "|" in the grammar productions used in the reference manualFred Drake2002-04-301-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 Drake2002-04-091-1/+1
|
* Given lambda its own section, instead of burying it in boolean operators.Jeremy Hylton2002-04-011-30/+7
|
* Update / simplify Identifiers section for nested scopes.Jeremy Hylton2002-04-011-18/+2
| | | | How do I create a cross reference to section 4.1?
* Fix up unescaped tilde; reported by several people.Fred Drake2002-03-181-1/+1
|
* Markup error: braces not properly marked in dictionary displayFred Drake2002-03-161-1/+1
| | | | | grammer productions. Fixes SF bug #520959.
* Revise the markup related to the grammar productions to increase theFred Drake2002-03-151-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 ifFred Drake2001-12-141-5/+5
| | | | | they were represented by newlines in the document source. Partially fixes SF bug #493243.
* Fix forMichael W. Hudson2001-12-121-2/+45
| | | | [ #429329 ] actual-parameters *arg, **kws not doc'd
* Removed stray backslash (a typo -- my fault).Tim Peters2001-10-011-1/+1
|
* The description of dictionary comparison was out of date. Rather thanTim Peters2001-10-011-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.
* Change the grammar productions to use the new productionlist environment;Fred Drake2001-07-061-92/+152
| | | | | this supports a hyperlinked version of the grammar that can make tracking down details and definitions a little easier.
* Use a named reference to another chapter instead of hard coding theFred Drake2001-06-231-2/+2
| | | | | chapter number. This also makes the reference a hyperlink in the HTML version.
* Fix a very minor (but annoying when looking for things!) markup nit.Fred Drake2001-06-231-0/+17
|
* Update a "Programmer's note" about lambda forms and scoping to reflectFred Drake2001-06-051-5/+19
| | | | the availability of nested scoping in Python 2.1 and 2.2.
* Fix the operator precedence table: exponentiation binds tighter thanFred Drake2001-05-091-2/+2
| | | | | | negation. This closes SF bug #421999.
* Implement, test and document "key in dict" and "key not in dict".Guido van Rossum2001-04-201-1/+3
| | | | | | | | | I know some people don't like this -- if it's really controversial, I'll take it out again. (If it's only Alex Martelli who doesn't like it, that doesn't count as "real controversial" though. :-) That's why this is a separate checkin from the iterators stuff I'm about to check in next.
* Work around the conversion of ">>" and "<<" to guillemets. Reported byFred Drake2001-04-121-1/+1
| | | | Ping on the Doc-SIG mailing list.
* Re-word the explanation of the in/not in operators for increased contentFred Drake2001-03-061-6/+14
| | | | | | | and clarity. Add a footnote to the information on the possibility of shadowing builtins with locals & module globals.
* Fix a variety of minor nits and typos caught by Chris RylandFred Drake2001-01-141-7/+7
| | | | <cpr@emsoftware.com>.
* Adjust explanation of operator precedence summary -- exponentiation groupsFred Drake2000-12-111-1/+2
| | | | | | from right to left! Closes bug #125391.
* Fix error noted by Gerrit Holl (old; had been buried in my INBOX):Fred Drake2000-12-071-3/+3
| | | | | sequence repitition works just fine with long integers now, so we should not say that only plain integers are allowed.
* Many small clarifications, including many suggested by email.Fred Drake2000-09-191-17/+18
|
* add index entries for list comprehensionsSkip Montanaro2000-09-111-0/+2
|
* fix list comprehension discussion to use \keyword macro instead of simplySkip Montanaro2000-08-231-3/+4
| | | | quoting keywords.
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-221-2/+3
|
* Fix error made in applying Thomas's patch.Fred Drake2000-08-151-1/+1
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-08-151-1/+2
| | | | | Update the grammar to reflect the most recent changes to list comprehensions.
* list comprehensions. seeSkip Montanaro2000-08-121-5/+14
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.