Opened 13 years ago

Closed 12 years ago

#2791 closed enhancement (fixed)

[patch] MergeDict needs __contains__ to support 'in'

Reported by: anonymous Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Simple addition. See patch.

Attachments (1)

merge_contains.patch (479 bytes) - added by ned@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by ned@…

Attachment: merge_contains.patch added


comment:1 Changed 12 years ago by Malcolm Tredinnick

Summary: MergeDict needs __contains__ to support 'in'[patch] MergeDict needs __contains__ to support 'in'

comment:2 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [3808]) Fixed #2791 -- Added contains method (for "a in dict" checks) to MergeDict.
Thanks, Ned Batchelder.

Note: See TracTickets for help on using tickets.
Back to Top