From 8b986a4f2c6e533618d31268fb2ecacd63e99fb0 Mon Sep 17 00:00:00 2001 From: Bernie Hackett Date: Wed, 5 Aug 2015 18:25:29 -0700 Subject: [PATCH] PYTHON-967 - Call print as a function in README --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index c6c276585..f59e213e8 100644 --- a/README.rst +++ b/README.rst @@ -134,7 +134,7 @@ Here's a basic example (for more see the *examples* section of the docs): >>> db.my_collection.find_one() {u'x': 10, u'_id': ObjectId('4aba15ebe23f6b53b0000000')} >>> for item in db.my_collection.find(): - ... print item["x"] + ... print(item["x"]) ... 10 8 @@ -142,7 +142,7 @@ Here's a basic example (for more see the *examples* section of the docs): >>> db.my_collection.create_index("x") u'x_1' >>> for item in db.my_collection.find().sort("x", pymongo.ASCENDING): - ... print item["x"] + ... print(item["x"]) ... 8 10