• Gerion Entrup's avatar
    Utility/CppConvert: fix Cython warning (GH-3108) · cea380ed
    Gerion Entrup authored
    When compiling to C++ code and using automatic conversion from Python
    str to C++ string, Cython inserts this function template but generates the warning:
    warning: string.from_py:15:63: local variable 'length' might be referenced before assignment
    cea380ed
CppConvert.pyx 5.96 KB