Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ is_glob_pattern
Function
is_glob_pattern
numpy/distutils/misc_util.py:506–507 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
504
return
True
505
506
def
is_glob_pattern(s):
507
return
is_string(s) and (
'*'
in s or
'?'
in s)
508
509
def
as_list(seq):
510
if
is_sequence(seq):
Callers
2
add_data_dir
Method · 0.85
add_data_files
Method · 0.85
Calls
1
is_string
Function · 0.85
Tested by
no test coverage detected