We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pprint.pp
1 parent de96067 commit 2c4d5eeCopy full SHA for 2c4d5ee
Doc/library/pprint.rst
@@ -267,7 +267,7 @@ let's fetch information about a project from `PyPI <https://pypi.org>`_::
267
>>> import json
268
>>> import pprint
269
>>> from urllib.request import urlopen
270
- >>> with urlopen('https://pypi.org/pypi/sampleproject/json') as resp:
+ >>> with urlopen('https://pypi.org/pypi/sampleproject/1.2.0/json') as resp:
271
... project_info = json.load(resp)['info']
272
273
In its basic form, :func:`~pprint.pp` shows the whole object::
0 commit comments