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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.