Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f221944

Browse files
committed
Change to keyword-only argument
1 parent cb25841 commit f221944

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/cbook/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2242,7 +2242,7 @@ def type_name(tp):
22422242
type_name(type(v))))
22432243

22442244

2245-
def _check_in_list(_values, _print_supported_values=True, **kwargs):
2245+
def _check_in_list(_values, *, _print_supported_values=True, **kwargs):
22462246
"""
22472247
For each *key, value* pair in *kwargs*, check that *value* is in *_values*;
22482248
if not, raise an appropriate ValueError.

0 commit comments

Comments
 (0)