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
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:


Simple addition. See patch.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ned@…


comment:1 Changed 10 years ago by mtredinnick

  • Summary changed from MergeDict needs __contains__ to support 'in' to [patch] MergeDict needs __contains__ to support 'in'

comment:2 Changed 10 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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