Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/1203.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replaced docstring for :meth:`multidict.MultiDict.update` to don't use RST/markdown markup.
2 changes: 2 additions & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ fallback
fastpath
filename
formatters
RST
docstring
gcc
getitem
github
Expand Down
2 changes: 1 addition & 1 deletion multidict/_multidict.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ PyDoc_STRVAR(multidict_popitem_doc,
"Remove and return an arbitrary (key, value) pair.");

PyDoc_STRVAR(multidict_update_doc,
"Update the dictionary from *other*, overwriting existing keys.");
"Update the dictionary, overwriting existing keys.");

PyDoc_STRVAR(sizeof__doc__, "D.__sizeof__() -> size of D in memory, in bytes");

Expand Down
2 changes: 1 addition & 1 deletion multidict/_multidict_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ def popitem(self) -> tuple[str, _V]:
return ret

def update(self, arg: MDArg[_V] = None, /, **kwargs: _V) -> None:
"""Update the dictionary from *other*, overwriting existing keys."""
"""Update the dictionary, overwriting existing keys."""
items = self._parse_args(arg, kwargs)
newsize = self._used + len(items)
log2_size = estimate_log2_keysize(newsize)
Expand Down
Loading