sphinx-autoapi/autoapi/utils.py

17 lines
459 B
Python
Raw Normal View History

2015-04-08 05:54:53 +00:00
from .base import UnknownType
#from .python import PythonModule, PythonClass, PythonFunction
2015-03-27 19:50:56 +00:00
#def classify(obj, obj_type):
# if 'type' not in obj:
# return ''
#
# if obj_type == 'python':
# if obj['type'] == 'module':
# return PythonModule(obj)
# if obj['type'] == 'class':
# return PythonClass(obj)
# if obj['type'] == 'function':
# return PythonFunction(obj)
# return UnknownType(obj)