diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-18 17:10:25 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-18 17:22:11 +0200 |
commit | fdfd96d1b6e29dec0faa849321765c96fe39bb93 (patch) | |
tree | c22b1c194ea6152771fdd4ef37746fb1448b9033 /Cython/Compiler | |
parent | 1c8d21e19fbf469f770423fa8664f19a67a59ab2 (diff) | |
download | cython-full_code_writer.tar.gz |
Make CodeWriter inherit from ExpressionWriter in order to support all kinds of expressions without duplicating code.full_code_writer
Diffstat (limited to 'Cython/Compiler')
-rw-r--r-- | Cython/Compiler/AutoDocTransforms.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Cython/Compiler/AutoDocTransforms.py b/Cython/Compiler/AutoDocTransforms.py index 9b8f2000b..a5648f49e 100644 --- a/Cython/Compiler/AutoDocTransforms.py +++ b/Cython/Compiler/AutoDocTransforms.py @@ -9,6 +9,9 @@ from .Errors import warning class AnnotationWriter(ExpressionWriter): + """ + A Cython code writer for Python expressions in argument/variable annotations. + """ def __init__(self, description=None): """description is optional. If specified it is used in warning messages for the nodes that don't convert to string properly. |