MCPcopy Create free account
hub / github.com/numpy/numpy / is_string

Function is_string

numpy/distutils/misc_util.py:487–488  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

485 return modules
486
487def is_string(s):
488 return isinstance(s, str)
489
490def all_strings(lst):
491 """Return True if all items in lst are string objects. """

Callers 15

_fix_argsFunction · 0.90
_dict_appendFunction · 0.90
setupFunction · 0.90
get_libsMethod · 0.90
_find_libMethod · 0.90
combine_pathsFunction · 0.90
flaglistFunction · 0.90
str2boolFunction · 0.90
set_commandMethod · 0.90
linkMethod · 0.90
_environment_hookMethod · 0.90
find_modulesMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected