( )⚙ D12352 py3: use class X: instead of class X(object):

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use class X: instead of class X(object):
ClosedPublic

Authored by indygreg on Mar 3 2022, 10:31 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

indygreg created this revision.Mar 3 2022, 10:31 PM
Alphare accepted this revision.Mar 8 2022, 4:54 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
contrib/fuzz/mpatch_corpus.py
23

Here a py2 compat fix in case you want to follow-up

This revision is now accepted and ready to land.Mar 8 2022, 4:54 AM
This revision was automatically updated to reflect the committed changes.