This is an archive of the discontinued Mercurial Phabricator instance.

ui: use named attributes on FrameInfo instance
ClosedPublic

Authored by indygreg on Feb 11 2018, 10:45 PM.

Details

Summary

This type has been a named tuple since Python 2.6. Use the
named attributes to improve code clarity.

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.Feb 11 2018, 10:45 PM
pulkit accepted this revision.Feb 12 2018, 2:48 AM
durin42 accepted this revision.Feb 12 2018, 9:32 PM
This revision is now accepted and ready to land.Feb 12 2018, 9:32 PM
This revision was automatically updated to reflect the committed changes.

This one I'm going to have to discard, along with D2172. I'll mail my version instead. Sigh.