Skip to content

Commit

Permalink
Work around an issue with defining class attribute documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Sep 5, 2016
1 parent a2c8eb2 commit 975f715
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/ZODB/valuedoc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Work around an issue with defining class attribute documentation.
See http://stackoverflow.com/questions/9153473/sphinx-values-for-attributes-reported-as-none/39276413
"""

class ValueDoc:

def __init__(self, text):
self.text = text

def __repr__(self):
return self.text

0 comments on commit 975f715

Please sign in to comment.