8000 Document `values.py` · raghav7997/twilio-python@43161b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43161b8

Browse files
author
Doug Black
committed
Document values.py
1 parent b37b7de commit 43161b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

twilio/values.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33

44

55
def of(d):
6-
return {k: v for k, v in iteritems(d) if v != unset}
6+
"""
7+
Remove unset values from a dict.
78

9+
:param dict d: A dict to strip.
10+
:return dict: A dict with unset values removed.
11+
return {k: v for k, v in iteritems(d) if v != unset}

0 commit comments

Comments
 (0)
0