#2441 closed enhancement (fixed)
[patch] Allow MultiValueDict update method to take keyword args, like dict
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
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 |
Pull Requests: | How to create a pull request | ||
Description ¶
In Python 2.4 the builtin dict.update method can accept keyword args. This is a small update to MultiValueKey.update to also optionally accept keywork arguments. Also, like the python dict implementation, this allows both a dictionary (or MultiValueDict) alongside keyword arguments.
Change History (3)
by , 19 years ago
Attachment: | multivalueupdate.diff added |
---|
comment:1 by , 19 years ago
Summary: | [patch] Allow MultiValueKey update method to take keyword args, like dict → [patch] Allow MultiValueDict update method to take keyword args, like dict |
---|
last_post.replace("MultiValueKey", "MultiValueDict")
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch for MultiValueDict.update