[New-bugs-announce] [issue3519] Evaluation order example lacks suffix

Terry J. Reedy report at bugs.python.org
Thu Aug 7 23:53:16 CEST 2008


New submission from Terry J. Reedy <tjreedy at udel.edu>:

Language reference/ Expressions/ Evaluation order
...
In the following lines, expressions will be evaluated in the arithmetic
order of their suffixes:
...
func(expr1, expr2, *expr3, **expr4)

The omission of a suffix from the function expression could imply that
such are somehow not included in the left-to-right rule.  Suggest
'func0', 'f_expr0', 'func_expr0' or just 'expr0' possibly renumbered from 1.

expr1(expr2, expr3, *expr4, **expr5)
is probably most consistent with other examples.

----------
assignee: georg.brandl
components: Documentation
messages: 70864
nosy: georg.brandl, tjreedy
severity: normal
status: open
title: Evaluation order example lacks suffix
versions: Python 2.5, Python 2.6, Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3519>
_______________________________________


More information about the New-bugs-announce mailing list