We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5eb7fb commit ad86767Copy full SHA for ad86767
1 file changed
datapath/_base.py
@@ -54,7 +54,7 @@ def is_path(path: str, iterable: bool = True) -> bool:
54
return bool(match)
55
else:
56
try:
57
- _split_match(match)
+ _split_match(match, iterable=False)
58
return True
59
except ValidationError:
60
return False
@@ -70,7 +70,7 @@ def validate_path(path: str, iterable: bool = True) -> None:
70
return
71
match = _match_validate(path)
72
if not iterable:
73
74
75
76
def _parse_range(range_part: str) -> range:
0 commit comments