[docs] Improve cross-references in pickle documentation. (issue 19189)

georg at python.org georg at python.org
Sun Oct 13 23:13:12 CEST 2013


http://bugs.python.org/review/19189/diff/9465/Doc/library/pickle.rst
File Doc/library/pickle.rst (right):

http://bugs.python.org/review/19189/diff/9465/Doc/library/pickle.rst#newcode394
Doc/library/pickle.rst:394: calling :meth:`~.object.__getstate__` is
picklable  (see section
On 2013/10/13 23:07:18, storchaka wrote:
> On 2013/10/13 20:29:35, Georg wrote:
> > ~object. should never be needed for methods.
> > 
> > These appear to be false positives.
> 
> Here is not "~object." but "~.object.". These methods are declared in
the "."
> module (see line 438 below). Do you know how declare empty module?


Yes, use ``.. currentmodule:: None``.

http://bugs.python.org/review/19189/


More information about the docs mailing list