Switch more function arguments docs to new-style.

This commit is contained in:
Georg Brandl 2009-09-02 20:34:52 +00:00
parent 0bb1cc72c8
commit 1824415470
39 changed files with 134 additions and 160 deletions

View file

@ -2,7 +2,8 @@
==================================================
.. module:: pickletools
:synopsis: Contains extensive comments about the pickle protocols and pickle-machine opcodes, as well as some useful functions.
:synopsis: Contains extensive comments about the pickle protocols and
pickle-machine opcodes, as well as some useful functions.
This module contains various constants relating to the intimate details of the
:mod:`pickle` module, some lengthy comments about the implementation, and a
@ -12,7 +13,7 @@ ordinary users of the :mod:`pickle` module probably won't find the
:mod:`pickletools` module relevant.
.. function:: dis(pickle[, out=None, memo=None, indentlevel=4])
.. function:: dis(pickle, out=None, memo=None, indentlevel=4)
Outputs a symbolic disassembly of the pickle to the file-like object *out*,
defaulting to ``sys.stdout``. *pickle* can be a string or a file-like object.