From: Raymond Hettinger Date: Sun, 7 Dec 2008 01:21:21 +0000 (+0000) Subject: Issue 4570: Fix typo in the tutorial. X-Git-Tag: v3.0.1~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ab89d8d7eac439474da3a0ff8b37d2c84baa10a;p=thirdparty%2FPython%2Fcpython.git Issue 4570: Fix typo in the tutorial. --- diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index e8509ebe93cc..84e731d90b28 100644 --- a/Doc/tutorial/datastructures.rst +++ b/Doc/tutorial/datastructures.rst @@ -376,7 +376,7 @@ Here is a brief demonstration:: >>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'} >>> print(basket) - {'orange', 'bananna', 'pear', 'apple'} + {'orange', 'banana', 'pear', 'apple'} >>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana'] >>> fruit = set(basket) # create a set without duplicates >>> fruit