please
please copied to clipboard
Add `pop` method to dict built-in type
dict.pop(key[, default])
This method removes the given key from the dictionary and returns its value if it existed, or the given default if it didn't. The semantics are similar to Python's and Starlark's in that dict.pop(key)
causes an error to be raised when key
does not exist, similarly to dict[key]
.
This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.