Skip to content

Commit

Permalink
Fix 'literalinclude' warning / failure under Sphinx.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jul 7, 2016
1 parent 6cf8f89 commit f90809d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/narr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,17 +328,12 @@ them.
:pyobject: Other
:prepend: # zope.copy.examples.Other

.. literalinclude:: ../src/zope/copy/examples.py
:pyobject: root
:prepend: # zope.copy.examples.root

.. doctest::

>>> from zope.copy.examples import Other
>>> from zope.copy.examples import root
>>> s = Other()
>>> s_copy = zope.copy.copy(s)
>>> s_copy.__parent__ is root
>>> s_copy.__parent__ is Other.root
True
>>> s_copy.__name__ == 'something'
True
Expand Down

0 comments on commit f90809d

Please sign in to comment.