comparison mercurial/hg.py @ 48946:642e31cb55f0

py3: use class X: instead of class X(object): The inheritance from object is implied in Python 3. So this should be equivalent. This change was generated via an automated search and replace. So there may have been some accidental changes. Differential Revision: https://phab.mercurial-scm.org/D12352
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 13:08:28 -0700
parents 6000f5b25c9b
children c463f45fa114
comparison
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
1532 (b'spath', b'obsstore'), 1532 (b'spath', b'obsstore'),
1533 (b'path', b'bookmarks'), # ! bookmark can change content at the same size 1533 (b'path', b'bookmarks'), # ! bookmark can change content at the same size
1534 ] 1534 ]
1535 1535
1536 1536
1537 class cachedlocalrepo(object): 1537 class cachedlocalrepo:
1538 """Holds a localrepository that can be cached and reused.""" 1538 """Holds a localrepository that can be cached and reused."""
1539 1539
1540 def __init__(self, repo): 1540 def __init__(self, repo):
1541 """Create a new cached repo from an existing repo. 1541 """Create a new cached repo from an existing repo.
1542 1542