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, Apr 24, 3:39 PM
Unknown Object (File)
Wed, Apr 24, 3:15 AM
Unknown Object (File)
Sun, Apr 21, 4:39 PM
Unknown Object (File)
Sat, Apr 20, 4:45 AM
Unknown Object (File)
Fri, Apr 12, 8:44 PM
Unknown Object (File)
Fri, Mar 29, 12:20 PM
Unknown Object (File)
Thu, Mar 28, 6:44 AM
Unknown Object (File)
Mar 27 2024, 1:57 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.