我在Python Interactive Session中运行以下代码并尝试从json获取有关方法'load'的帮助,但我不知道在(END)之后继续我的指令,
这是我的代码:
import json
help(json.load)
这就是我得到的:
...
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
``object_pairs_hook`` is an optional function that will be called with the
result of any object literal decoded with an ordered list of pairs. The
return value of ``object_pairs_hook`` will be used instead of the ``dict``.
This feature can be used to implement custom decoders. If ``object_hook``
is also defined, the ``object_pairs_hook`` takes priority.
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg; otherwise ``JSONDecoder`` is used.
(END)
你可以帮忙(END)之后如何继续? (因为我不能输入我的下一条指令。)
按q
退出。
我找不到这个documented,但是here it is in the source code of pydoc's pager。
注意:(END)文本提示pydoc
可能会委托给您的平台上的另一个程序less
进行分页。但是,相同的快捷键应该工作。