Opened 10 years ago

Closed 10 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: UI/UX:

Description

Simple addition. See patch.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ned@…

Attachment: merge_contains.patch added

patch!

comment:1 Changed 10 years ago by Malcolm Tredinnick

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

comment:2 Changed 10 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