summaryrefslogtreecommitdiff
path: root/sphinx/util/inspect.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year.Georg Brandl2014-03-011-10/+5
|\
| * merge with stableGeorg Brandl2014-03-011-3/+3
| |\
| * | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
| * | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-151-7/+2
| | |
* | | Update copyright year.Georg Brandl2014-03-011-1/+1
| |/ |/|
* | Fix inspect using the "__builtins__" CPython specific module.Georg Brandl2014-03-011-3/+3
|/
* Now sphinx.ext.autodoc on PyPy ignoring the method of built-in classes.shimizukawa2013-10-071-0/+17
| | | | | | | | | | | For example:: class CustomDict(dict): """Docstring.""" From this code, autoclass directive on PyPy generate a document output as ``class foo.CustomDict(obj, *args, **keywords)`` instead of ``class foo.CustomDict`` before this change.
* Fix new getargspec implementation for 3.x.Georg Brandl2013-09-171-3/+3
|
* Closes #828: use inspect.getfullargspec() to be able to document functions withGeorg Brandl2013-09-161-1/+37
| | | | keyword-only arguments on Python 3.
* Respect add_autodoc_attrgetter() even when inherited-members is setA. Jesse Jiryu Davis2013-01-311-2/+2
|
* Closes #1069: Fix autodoc signature formatting of "partial" functions ↵Jonathan Waltman2013-01-091-2/+7
| | | | without kwargs (patch by Artur Gaspar).
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* * fix for Python2.5: test failed by using inspect.ArgSpec that introduced at ↵shimizukawa2012-05-021-1/+4
| | | | Python-2.6.
* Closes #810: fix deprecation warnings with Python 3. What is left over is ↵Georg Brandl2012-01-291-1/+4
| | | | from nose or docutils.
* PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII ↵Georg Brandl2012-01-291-1/+3
| | | | characters correctly.
* #437: autodoc now shows values of class data attributes.Georg Brandl2011-01-081-0/+9
|
* merge with https://bitbucket.org/langacore/sphinxGeorg Brandl2011-01-081-1/+5
|\
* | getargspec moved to sphinx.util.inspect?ukasz Langa2011-01-081-0/+34
|/
* New year update.Georg Brandl2011-01-041-1/+1
|
* Happy new year!Georg Brandl2010-01-011-1/+1
|
* #229: Fix autodoc failures with members that raise errorsGeorg Brandl2009-08-061-0/+43
on ``getattr()``.