summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/classes.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 4676ef4..b8f1226 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -892,10 +892,7 @@ Examples::
>>> sum(x*y for x,y in zip(xvec, yvec)) # dot product
260
- >>> from math import pi, sin
- >>> sine_table = {x: sin(x*pi/180) for x in range(0, 91)}
-
- >>> unique_words = set(word for line in page for word in line.split())
+ >>> unique_words = set(word for line in page for word in line.split())
>>> valedictorian = max((student.gpa, student.name) for student in graduates)