mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#145: Fix autodoc problem with automatic members that refuse to be
getattr()'d from their parent.
This commit is contained in:
parent
46bc1cbe4b
commit
124864ed27
4
CHANGES
4
CHANGES
@ -1,6 +1,9 @@
|
|||||||
Release 0.6.2 (in development)
|
Release 0.6.2 (in development)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
* #145: Fix autodoc problem with automatic members that refuse to be
|
||||||
|
getattr()'d from their parent.
|
||||||
|
|
||||||
* If specific filenames to build are given on the command line,
|
* If specific filenames to build are given on the command line,
|
||||||
check that they are within the source directory.
|
check that they are within the source directory.
|
||||||
|
|
||||||
@ -11,6 +14,7 @@ Release 0.6.2 (in development)
|
|||||||
* #134: Fix pending_xref leftover nodes when using the todolist
|
* #134: Fix pending_xref leftover nodes when using the todolist
|
||||||
directive from the todo extension.
|
directive from the todo extension.
|
||||||
|
|
||||||
|
|
||||||
Release 0.6.1 (Mar 26, 2009)
|
Release 0.6.1 (Mar 26, 2009)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
@ -485,7 +485,7 @@ class Documenter(object):
|
|||||||
# using keys() because apparently there are objects for which
|
# using keys() because apparently there are objects for which
|
||||||
# __dict__ changes while getting attributes
|
# __dict__ changes while getting attributes
|
||||||
return False, sorted([
|
return False, sorted([
|
||||||
(mname, self.get_attr(self.object, mname))
|
(mname, self.get_attr(self.object, mname, None))
|
||||||
for mname in self.get_attr(self.object, '__dict__').keys()])
|
for mname in self.get_attr(self.object, '__dict__').keys()])
|
||||||
|
|
||||||
def filter_members(self, members, want_all):
|
def filter_members(self, members, want_all):
|
||||||
|
Loading…
Reference in New Issue
Block a user