Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5edd785 commit 3a8fbe7Copy full SHA for 3a8fbe7
1 file changed
Doc/tut/tut.tex
@@ -1388,8 +1388,9 @@ \subsection{Default Argument Values \label{defaultArgs}}
1388
1389
\strong{Important warning:} The default value is evaluated only once.
1390
This makes a difference when the default is a mutable object such as a
1391
-list or dictionary. For example, the following function accumulates
1392
-the arguments passed to it on subsequent calls:
+list, dictionary, or instances of most classes. For example, the
+following function accumulates the arguments passed to it on
1393
+subsequent calls:
1394
1395
\begin{verbatim}
1396
def f(a, L=[]):
0 commit comments