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 f90809d commit 9af8cb6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/zope/copy/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ class Something(object): #pragma NO COVER
pass


root = object()


class Other(object): #pragma NO COVER
root = object() # immutable
@_apply
def __name__():
def fget(self):
Expand All @@ -61,7 +59,7 @@ def fset(self, value):
@_apply
def __parent__():
def fget(self):
return root
return self.__class__.root
def fset(self, value):
raise AttributeError
return property(fget, fset)

0 comments on commit 9af8cb6

Please sign in to comment.