【发布时间】:2018-09-06 20:55:31
【问题描述】:
我在 Python 交互会话中运行以下代码并尝试从 json 获取有关“加载”方法的帮助,但我不知道在 (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命令? -
从长远来看,它将帮助您了解何时处于“寻呼机”应用程序中,并了解您的键绑定。
标签: python pagination tty pydoc