From 41c3d5493b2de36b60c2aa034bd3d2cf9ddbeb8e Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Mon, 20 Sep 2010 11:02:26 -0400 Subject: [PATCH] validation typo --- advanced-iterators.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced-iterators.html b/advanced-iterators.html index 242466e..2bed5c0 100755 --- a/advanced-iterators.html +++ b/advanced-iterators.html @@ -544,7 +544,7 @@ for guess in itertools.permutations(digits, len(characters)): File "<string>", line 1, in <module> NameError: name 'x' is not defined >>> eval("x * 5", {"x": x}, {}) -25 +25 >>> import math >>> eval("math.sqrt(x)", {"x": x}, {}) Traceback (most recent call last):