Opened 18 years ago

Closed 18 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

Description

Simple addition. See patch.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

by ned@…, 18 years ago

Attachment: merge_contains.patch added

patch!

comment:1 by Malcolm Tredinnick, 18 years ago

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

comment:2 by Malcolm Tredinnick, 18 years ago

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