MCPcopy Create free account
hub / github.com/bgrimstad/splinter / is_string

Function is_string

python/splinter/utilities.py:34–38  ·  view source on GitHub ↗
(py_string)

Source from the content-addressed store, hash-verified

32
33
34def is_string(py_string):
35 if is_python3():
36 return isinstance(py_string, str)
37 else:
38 return isinstance(py_string, basestring)
39
40
41def list_to_c_array_of_doubles(py_list):

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls 1

is_python3Function · 0.85

Tested by

no test coverage detected