Include/internal/pycore_global_strings

Search:
Group by:
Source   Edit  

Templates

template Py_DECLARE_STR(name; str: static string)
Source   Edit  
template Py_STR(name): PyStrObject
Source   Edit  
template pyDUId(id: untyped{~nkRStrLit}): PyStrObject
dunder(double underline) Py_ID Source   Edit  
template pyId(id: untyped{~nkRStrLit}): PyStrObject
_Py_ID in CPython
Note: this forbids nkRStrLit as nim pyId"abc" would become pyId("r\"abc"), which is an implicit bug that's not desired but easy to make.
Source   Edit