MCPcopy Index your code
hub / github.com/pydata/xarray / _isalnumMUTF8

Function _isalnumMUTF8

xarray/backends/netcdf3.py:133–139  ·  view source on GitHub ↗

Return True if the given UTF-8 encoded character is alphanumeric or multibyte. Input is not checked!

(c)

Source from the content-addressed store, hash-verified

131
132
133def _isalnumMUTF8(c):
134 """Return True if the given UTF-8 encoded character is alphanumeric
135 or multibyte.
136
137 Input is not checked!
138 """
139 return c.isalnum() or (len(c.encode("utf-8")) > 1)
140
141
142def is_valid_nc3_name(s):

Callers 1

is_valid_nc3_nameFunction · 0.85

Calls 2

isalnumMethod · 0.80
encodeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…