Mercurial > cpython-lru_cache-weakref
diff Modules/_threadmodule.c @ 47285:afbde360dd1a
Create the dbm package from PEP 3108. #2881.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Mon, 26 May 2008 10:29:35 +0000 |
| parents | 7fe3a8648ce2 |
| children | 94f64f11fdd0 |
line wrap: on
line diff
--- a/Modules/_threadmodule.c Mon May 26 01:03:56 2008 +0000 +++ b/Modules/_threadmodule.c Mon May 26 10:29:35 2008 +0000 @@ -127,7 +127,7 @@ static PyTypeObject Locktype = { PyVarObject_HEAD_INIT(&PyType_Type, 0) - "thread.lock", /*tp_name*/ + "_thread.lock", /*tp_name*/ sizeof(lockobject), /*tp_size*/ 0, /*tp_itemsize*/ /* methods */ @@ -336,7 +336,7 @@ static PyTypeObject localtype = { PyVarObject_HEAD_INIT(NULL, 0) - /* tp_name */ "thread._local", + /* tp_name */ "_thread._local", /* tp_basicsize */ sizeof(localobject), /* tp_itemsize */ 0, /* tp_dealloc */ (destructor)local_dealloc,
