We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 771345d commit 8e98c16Copy full SHA for 8e98c16
pyalsa/common.h
@@ -119,9 +119,9 @@ static inline int get_utf8_string(PyObject *o, char **str)
119
static inline PyObject *InternFromString(const char *name)
120
{
121
#if PY_MAJOR_VERSION < 3
122
- return PyString_InternFromString("register");
+ return PyString_InternFromString(name);
123
#else
124
- return PyUnicode_InternFromString("register");
+ return PyUnicode_InternFromString(name);
125
#endif
126
}
127
0 commit comments