comparison contrib/fuzz/mpatch_corpus.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
22 22
23 class py2reprhack: 23 class py2reprhack:
24 def __repr__(self): 24 def __repr__(self):
25 """Py2 calls __repr__ for `bytes(foo)`, forward to __bytes__""" 25 """Py2 calls __repr__ for `bytes(foo)`, forward to __bytes__"""
26 return self.__bytes__() 26 return self.__bytes__()
27
27 28
28 else: 29 else:
29 30
30 class py2reprhack: 31 class py2reprhack:
31 """Not needed on py3.""" 32 """Not needed on py3."""