Skip to content

Commit 6b5bc62

Browse files
authored
Merge pull request realpython#1095 from matheusfelipeog/feat/py2-to-py3-in-scraping-section
Update examples to Python 3 in scrape section
2 parents f15af06 + f27cd7f commit 6b5bc62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/scenarios/scrape.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ Let's see what we got exactly:
8787

8888
.. code-block:: python
8989
90-
print 'Buyers: ', buyers
91-
print 'Prices: ', prices
90+
print('Buyers: ', buyers)
91+
print('Prices: ', prices)
9292
9393
::
9494

0 commit comments

Comments
 (0)