Page MenuHomekolab.org

[Python 3] Remove unnecessary occurrences of .keys()
ClosedPublic

Authored by sicherha on Sat, Jan 8, 11:38 AM.

Details

Summary

The following cases are covered:

  • for key in dict
  • if key in dict
  • len(dict)

This will make life easier for futurize.

Diff Detail

Repository
rP pykolab
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sicherha requested review of this revision.Sat, Jan 8, 11:38 AM
sicherha created this revision.
mollekopf accepted this revision.Mon, Jan 10, 10:00 AM
This revision is now accepted and ready to land.Mon, Jan 10, 10:00 AM
This revision was landed with ongoing or failed builds.Mon, Jan 10, 8:48 PM
This revision was automatically updated to reflect the committed changes.