diff options
| author | Stefan Behnel <stefan_ml@behnel.de> | 2019-06-01 14:21:48 +0200 |
|---|---|---|
| committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-12 21:53:02 +0200 |
| commit | 7fcf0d8435e02ab30466274856bf21cc8501cd15 (patch) | |
| tree | e8e54ea70cbe8323d0565d1bdcc384686e271a00 | |
| parent | af3f8d4871c9493fc432bbfb2e02c34c26686903 (diff) | |
| download | cython-7fcf0d8435e02ab30466274856bf21cc8501cd15.tar.gz | |
Add missing "@cython.binding" decorator for Python code.
| -rw-r--r-- | CHANGES.rst | 2 | ||||
| -rw-r--r-- | Cython/Shadow.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 62868507b..a944d2330 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,8 @@ Features added * ``std::move()`` is now available from ``libcpp.utility``. Patch by Omer Ozarslan. (Github issue #2169) +* The ``@cython.binding`` decorator is available in Python code. + Bugs fixed ---------- diff --git a/Cython/Shadow.py b/Cython/Shadow.py index 0ad294f66..f311f16f0 100644 --- a/Cython/Shadow.py +++ b/Cython/Shadow.py @@ -123,6 +123,8 @@ overflowcheck.fold = optimization.use_switch = \ final = internal = type_version_tag = no_gc_clear = no_gc = _empty_decorator +binding = lambda _: _empty_decorator + _cython_inline = None def inline(f, *args, **kwds): |
