summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.py
diff options
context:
space:
mode:
authorMatthew Brett <matthew.brett@gmail.com>2015-03-15 11:31:37 -0700
committerMatthew Brett <matthew.brett@gmail.com>2015-03-15 11:31:37 -0700
commit4b4d8510739c9ea7a80391e2656d84a3c5e4a9c3 (patch)
treeb294bdbe93b62889919080d31ad71bf7cc19f48c /numpy/core/defchararray.py
parentc60f1c6d944b25c5a001cf80e9b65dd5d44ed85d (diff)
downloadnumpy-4b4d8510739c9ea7a80391e2656d84a3c5e4a9c3.tar.gz
ENH: _NoValue class at top-level to test kwargs
Add _NoValue class at top level to make it possible to detect when non-default values got passed to a keyword argument, as in: def func(a, b=np._NoValue): if b is not np._NoValue: warnings.warn("Argument b is deprecated", DeprecationWarning)
Diffstat (limited to 'numpy/core/defchararray.py')
0 files changed, 0 insertions, 0 deletions