diff options
| author | arcadia-devtools <[email protected]> | 2022-05-31 21:49:01 +0300 |
|---|---|---|
| committer | arcadia-devtools <[email protected]> | 2022-05-31 21:49:01 +0300 |
| commit | ceb13dcc40dd5e11c8e3189b3c15b3bd5897d4ac (patch) | |
| tree | eda501e07fcaba4f64bc3d29725472162f2e4227 /contrib/tools/cython/Cython/Shadow.py | |
| parent | 5b69557e440e6ac18399a29076fef25602859f17 (diff) | |
intermediate changes
ref:85306a27df0004d13faf777131d0b092370e6b90
Diffstat (limited to 'contrib/tools/cython/Cython/Shadow.py')
| -rw-r--r-- | contrib/tools/cython/Cython/Shadow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/cython/Cython/Shadow.py b/contrib/tools/cython/Cython/Shadow.py index fb662dc05c1..cc8c9b60ad5 100644 --- a/contrib/tools/cython/Cython/Shadow.py +++ b/contrib/tools/cython/Cython/Shadow.py @@ -1,7 +1,7 @@ # cython.* namespace for pure mode. from __future__ import absolute_import -__version__ = "0.29.28" +__version__ = "0.29.30" try: from __builtin__ import basestring @@ -305,7 +305,7 @@ class UnionType(CythonType): setattr(self, key, value) def __setattr__(self, key, value): - if key in '__dict__': + if key == '__dict__': CythonType.__setattr__(self, key, value) elif key in self._members: self.__dict__ = {key: cast(self._members[key], value)} |
