Skip to content

Commit f4a7bd3

Browse files
authored
✏️ fix module name
1 parent bb27fbd commit f4a7bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lru/_lru.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ static PyTypeObject LRUType = {
753753
#if PY_MAJOR_VERSION >= 3
754754
static struct PyModuleDef moduledef = {
755755
PyModuleDef_HEAD_INIT,
756-
"lru", /* m_name */
756+
"_lru", /* m_name */
757757
lru_doc, /* m_doc */
758758
-1, /* m_size */
759759
NULL, /* m_methods */
@@ -780,7 +780,7 @@ moduleinit(void)
780780
#if PY_MAJOR_VERSION >= 3
781781
m = PyModule_Create(&moduledef);
782782
#else
783-
m = Py_InitModule3("lru", NULL, lru_doc);
783+
m = Py_InitModule3("_lru", NULL, lru_doc);
784784
#endif
785785

786786
if (m == NULL)

0 commit comments

Comments
 (0)