From 5dd2f37b03e40d56a30b19e200a3a83c390dcfeb Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Mon, 20 Sep 2010 10:34:02 -0400 Subject: [PATCH] fixed missing output --- advanced-iterators.html | 1 + 1 file changed, 1 insertion(+) diff --git a/advanced-iterators.html b/advanced-iterators.html index d780ce6..242466e 100755 --- a/advanced-iterators.html +++ b/advanced-iterators.html @@ -544,6 +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 >>> import math >>> eval("math.sqrt(x)", {"x": x}, {}) Traceback (most recent call last):