We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6045e79 commit f8c5a24Copy full SHA for f8c5a24
pandas/core/config.py
@@ -747,8 +747,8 @@ def is_type_factory(_type):
747
748
Returns
749
-------
750
- validator - a function of a single argument x , which returns the
751
- True if type(x) is equal to `_type`
+ validator - a function of a single argument x , which raises
+ ValueError if type(x) is not equal to `_type`
752
753
"""
754
@@ -768,8 +768,8 @@ def is_instance_factory(_type):
768
769
770
771
772
- True if x is an instance of `_type`
+ ValueError if x is not an instance of `_type`
773
774
775
if isinstance(_type, (tuple, list)):
0 commit comments