File tree 2 files changed +2
-13
lines changed
2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ classifiers =
11
11
Development Status :: 3 - Alpha
12
12
Intended Audience :: Developers
13
13
Programming Language :: Python
14
- Programming Language :: Python :: 2
15
14
Programming Language :: Python :: 3
16
15
Operating System :: OS Independent
17
16
License :: OSI Approved :: BSD License
Original file line number Diff line number Diff line change 1
1
"""
2
2
Miscellaneous enhancements to help autodoc along.
3
3
"""
4
-
5
- import inspect
6
- import sys
7
- import types
8
-
9
- from sphinx .ext .autodoc import AttributeDocumenter , ModuleDocumenter
10
- from sphinx .util .inspect import isdescriptor
4
+ from sphinx .ext .autodoc import AttributeDocumenter
11
5
12
6
__all__ = []
13
7
14
- if sys .version_info [0 ] == 3 :
15
- class_types = (type ,)
16
- else :
17
- class_types = (type , types .ClassType )
18
-
8
+ class_types = (type ,)
19
9
MethodDescriptorType = type (type .__subclasses__ )
20
10
21
11
You can’t perform that action at this time.
0 commit comments