Page MenuHomePhorge

[Python 3] Get rid of .has_key()
ClosedPublic

Authored by sicherha on Jan 8 2022, 11:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 28, 8:50 AM
Unknown Object (File)
Sun, Nov 12, 7:32 AM
Unknown Object (File)
Wed, Nov 8, 8:25 AM
Unknown Object (File)
Mon, Nov 6, 6:59 AM
Unknown Object (File)
Sat, Nov 4, 2:14 AM
Unknown Object (File)
Tue, Oct 31, 4:31 PM
Unknown Object (File)
Oct 26 2023, 11:02 PM
Unknown Object (File)
Oct 20 2023, 3:13 AM
Subscribers
None

Details

Summary

dict.has_key(key) was dropped in Python 3.0. Use key in dict
instead.

Diff Detail

Repository
rP pykolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sicherha created this revision.
This revision is now accepted and ready to land.Jan 10 2022, 10:07 AM
This revision was landed with ongoing or failed builds.Jan 10 2022, 8:50 PM
This revision was automatically updated to reflect the committed changes.