Skip to content

Commit 73bf762

Browse files
committed
fix
1 parent fa52b0e commit 73bf762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mmapmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ mmap_mmap_set_name_impl(mmap_object *self, const char *name)
11501150
}
11511151
#else
11521152
/* naming not supported on this platform */
1153-
PyErr_SetString(NotImplementedError,
1153+
PyErr_SetString(PyExc_NotImplementedError,
11541154
"Annotation of mmap is not supported on this platform");
11551155
return NULL;
11561156
#endif

0 commit comments

Comments
 (0)