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 20c6430 commit fa19825Copy full SHA for fa19825
doc/source/purity.rst
@@ -45,9 +45,9 @@ input ``L`` which may have external state. Consider the following execution:
45
>>> data = [1, 2, 3]
46
>>> result = powers(data)
47
48
- >>> print result
+ >>> print(result)
49
[1, 4, 9]
50
- >>> print data
+ >>> print(data)
51
52
53
We see that ``powers`` affected the variable ``data``. Users of our function
@@ -59,7 +59,7 @@ Another problem occurs when we run this code in a different context:
59
60
61
62
63
[1, 8, 27]
64
65
When we give ``powers`` the same inputs we receive different outputs; how could
0 commit comments