summaryrefslogtreecommitdiff
path: root/Cython/Compiler/AutoDocTransforms.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not include "u" string prefix in annotations since tools that process ↵Stefan Behnel2020-09-261-3/+14
| | | | them probably expect Py3 string semantics anyway.
* Remember in the AnnotationsWriter when a serialised expression contained ↵Stefan Behnel2020-09-261-0/+3
| | | | unknown/unsupported nodes.
* Fix many indentation and whitespace issues throughout the code base (GH-3673)scoder2020-06-101-1/+1
| | | … and enforce them with pycodestyle.
* Avoid hasattr()+getattr pattern in favour of a single lookup.Stefan Behnel2020-05-291-2/+3
|
* Remove unused import.Stefan Behnel2020-04-231-1/+1
|
* Make CodeWriter inherit from ExpressionWriter in order to support all kinds ↵Stefan Behnel2020-04-181-0/+3
| | | | of expressions without duplicating code. (GH-3528)
* Implement PEP-563, annotations as strings (GH-3285)da-woods2020-01-041-0/+19
| | | | | | | | Annotations are now dealt with according to PEP-563 - they are saved as strings, rather than evaluated as Python objects. They can/are still be used by Cython for typing. Previous behaviour for evaluating them as Python objects was convoluted and has been removed entirely, which hopefully doesn't break too much.
* Support positional-only arguments in doc-embedded signatures.Stefan Behnel2019-04-301-7/+10
|
* Update embedsignature directiveLisandro Dalcin2017-07-191-69/+46
| | | | | * emit function annotations * implement ExpressionWriter visitor
* minor code cleanupStefan Behnel2016-03-281-2/+2
|
* 2to3: Apply the 'except' fixerPetr Viktorin2015-07-251-1/+1
|
* support NULL as default argument in auto doc transformStefan Behnel2015-04-061-0/+2
|
* do not try to generated embedded signatures for lambda functionsStefan Behnel2014-09-071-0/+4
|
* use explicit relative imports everywhere and enable absolute imports by defaultStefan Behnel2014-06-171-4/+6
|
* Attribute docstrings support for cdef public attributes.Nikita Nemkin2013-04-131-2/+18
|
* Show attribute access and binary operations in default values in ↵Nikita Nemkin2013-04-131-2/+36
| | | | autogenerated signatures.
* removed lots of unused imports, delayed some imports that are only needed ↵Stefan Behnel2011-11-131-2/+0
| | | | | | | for Cython specific syntax --HG-- extra : rebase_source : a2df3675fd1efae1a1122ca9742e99ab1405fba6
* Remove trailing whitespace.Robert Bradshaw2010-12-131-2/+2
|
* fix str default values in embedded signatures in Py3Stefan Behnel2010-02-171-3/+3
|
* fix default string value representation in auto-embedded signaturesStefan Behnel2009-10-181-7/+16
|
* Py3 fixStefan Behnel2009-08-211-1/+1
|
* Print default arguments syntactically, in order to (for example) preserveJason Evans2009-01-131-1/+1
| | | | quotes around strings.
* simplificationStefan Behnel2009-01-131-1/+1
|
* Take care to preserve cpdef method docstrings when prepending signatures.Jason Evans2009-01-051-2/+15
|
* embed __init__ signature in class docstringStefan Behnel2008-12-111-24/+52
|
* Move autodoc transform to later in the pipeline, remove redundant type ↵Robert Bradshaw2008-09-301-61/+20
| | | | formatting code.
* Merge (++, see details)Dag Sverre Seljebotn2008-09-221-3/+2
| | | | | Also fixed a bug that the merge revealed. Also added CythonTransform.current_directives.
* Signature embedding: Proper display of native types (#2).LisandroDalcin2008-09-201-7/+38
|
* Cython optimizations regarding embedding signaturesDag Sverre Seljebotn2008-09-191-3/+13
|
* Automatic embedding of signatures in docstring (#2)LisandroDalcin2008-09-191-0/+132