This is an archive of the discontinued Mercurial Phabricator instance.

changing-files: move default constructor value to None
ClosedPublic

Authored by marmoute on Sep 26 2020, 8:09 AM.

Details

Summary

According to Augie Fackler, using tuple as default value confuse PyType when
actual values are passed at init time.

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

marmoute created this revision.Sep 26 2020, 8:09 AM
pulkit accepted this revision.Sep 28 2020, 1:51 AM
This revision is now accepted and ready to land.Sep 28 2020, 1:51 AM
This revision was automatically updated to reflect the committed changes.