diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 07:39:35 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 07:39:35 (GMT) |
commit | 1e87da16eac24f6e0fb6908906ab6400ce583fa0 (patch) | |
tree | d992030c489c74b4f385314d3fba2d1dbb675cf6 /Doc/reference | |
parent | 7a15390f83c57283b44163c33bb4a80fd453526b (diff) | |
download | cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.zip cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.gz cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.bz2 |
Remove duplication.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 7015a7f..c99b65a 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -470,7 +470,7 @@ value --- this is a syntactic restriction that is not expressed by the grammar. **Default parameter values are evaluated when the function definition is executed.** This means that the expression is evaluated once, when the function -is defined, and that that same "pre-computed" value is used for each call. This +is defined, and that the same "pre-computed" value is used for each call. This is especially important to understand when a default parameter is a mutable object, such as a list or a dictionary: if the function modifies the object (e.g. by appending an item to a list), the default value is in effect modified. |