diff options
author | da-woods <dw-git@d-woods.co.uk> | 2021-04-17 20:14:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-17 21:14:42 +0200 |
commit | 3d511fa74a996d170f5f071de70b1e05db531539 (patch) | |
tree | 2e607e6a1523cae51a90a0b1b256b0180e7aaac3 | |
parent | 66eb66f2f0c0cfa22942853659d444b6f4ecb799 (diff) | |
download | cython-3d511fa74a996d170f5f071de70b1e05db531539.tar.gz |
Fix invalid code in CReferenceBaseType.__repr__ (GH-4124)
-rw-r--r-- | Cython/Compiler/PyrexTypes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 7e7154c00..3eb3b3177 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -2766,7 +2766,7 @@ class CReferenceBaseType(BaseType): self.ref_base_type = base_type def __repr__(self): - return "<%s %s>" % repr(self.__class__.__name__, self.ref_base_type) + return "<%r %s>" % (self.__class__.__name__, self.ref_base_type) def specialize(self, values): base_type = self.ref_base_type.specialize(values) |