Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pprint.pp
1 parent 4ae5061 commit 6a93a1aCopy full SHA for 6a93a1a
1 file changed
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