diff options
author | Georg Brandl <georg@python.org> | 2010-10-22 09:40:03 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-22 09:40:03 +0200 |
commit | c768b68340f73b69c00d1c5c1bf289e2c9f2a136 (patch) | |
tree | 56ca37ea485930b61763ee0b7e538e84515a7f71 /sphinx/ext/autodoc.py | |
parent | 39dc69e9d919fda67a599c85ec52be3f12950c4a (diff) | |
download | sphinx-git-c768b68340f73b69c00d1c5c1bf289e2c9f2a136.tar.gz |
#544: Allow ``.pyw`` as a source file extension.
Diffstat (limited to 'sphinx/ext/autodoc.py')
-rw-r--r-- | sphinx/ext/autodoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py index adf08bcde..55253e8ab 100644 --- a/sphinx/ext/autodoc.py +++ b/sphinx/ext/autodoc.py @@ -659,7 +659,7 @@ class Documenter(object): # parse right now, to get PycodeErrors on parsing (results will # be cached anyway) self.analyzer.find_attr_docs() - except PycodeError, err: + except PycodeError: # no source file -- e.g. for builtin and C modules self.analyzer = None # at least add the module.__file__ as a dependency |