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)
Sat, Jan 4, 11:52 AM
Unknown Object (File)
Wed, Dec 18, 7:11 PM
Unknown Object (File)
Sat, Dec 14, 6:10 AM
Unknown Object (File)
Dec 12 2024, 1:08 AM
Unknown Object (File)
Dec 8 2024, 4:25 AM
Unknown Object (File)
Oct 29 2024, 1:43 PM
Unknown Object (File)
Oct 29 2024, 1:43 PM
Unknown Object (File)
Oct 29 2024, 1:42 PM
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.