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

Function NumPyOS_ascii_tolower

numpy/core/src/common/numpyos.c:396–403  ·  view source on GitHub ↗

* NumPyOS_ascii_tolower: * * Same as tolower under C locale */

Source from the content-addressed store, hash-verified

394 * Same as tolower under C locale
395 */
396static int
397NumPyOS_ascii_tolower(int c)
398{
399 if (c >= 'A' && c <= 'Z') {
400 return c + ('a'-'A');
401 }
402 return c;
403}
404
405
406/*

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected