Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41c3d54

Browse files
author
Mark Pilgrim
committed
validation typo
1 parent 7fea562 commit 41c3d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced-iterators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ <h2 id=eval>Evaluating Arbitrary Strings As Python Expressions</h2>
544544
File "&lt;string>", line 1, in &lt;module>
545545
NameError: name 'x' is not defined</samp>
546546
<a><samp class=p>>>> </samp><kbd class=pp>eval("x * 5", {"x": x}, {})</kbd> <span class=u>&#x2461;</span></a>
547-
<samp class=p>25</span>
547+
<samp class=p>25</samp>
548548
<samp class=p>>>> </samp><kbd class=pp>import math</kbd>
549549
<a><samp class=p>>>> </samp><kbd class=pp>eval("math.sqrt(x)", {"x": x}, {})</kbd> <span class=u>&#x2462;</span></a>
550550
<samp class=traceback>Traceback (most recent call last):

0 commit comments

Comments
 (0)