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)
Wed, Sep 11, 11:56 AM
Unknown Object (File)
Sat, Sep 7, 10:51 AM
Unknown Object (File)
Sep 5 2024, 2:37 AM
Unknown Object (File)
Sep 2 2024, 1:01 PM
Unknown Object (File)
Aug 30 2024, 3:05 AM
Unknown Object (File)
Aug 26 2024, 3:31 AM
Unknown Object (File)
Aug 22 2024, 12:38 PM
Unknown Object (File)
Aug 22 2024, 5:46 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.