comparison mercurial/pycompat.py @ 43090:1f339b503a40

py3: manually import pycompat.delattr where it is needed And with this change, we no longer need the auto-inserted import statement in the source transformer, so it has been removed! Differential Revision: https://phab.mercurial-scm.org/D7010
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Oct 2019 16:58:55 -0400
parents c59eb1560c44
children 127cc1f72e70
comparison
equal deleted inserted replaced
43089:c59eb1560c44 43090:1f339b503a40
353 sysbytes = identity 353 sysbytes = identity
354 sysstr = identity 354 sysstr = identity
355 strurl = identity 355 strurl = identity
356 bytesurl = identity 356 bytesurl = identity
357 open = open 357 open = open
358 delattr = delattr
358 getattr = getattr 359 getattr = getattr
359 hasattr = hasattr 360 hasattr = hasattr
360 setattr = setattr 361 setattr = setattr
361 362
362 # this can't be parsed on Python 3 363 # this can't be parsed on Python 3