summaryrefslogtreecommitdiffstats
path: root/PC/_winreg.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-29 16:14:14 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-29 16:14:14 (GMT)
commit270e19b060fc027c10d44a2f4941673b6165f419 (patch)
tree3978d2c8f1f2c31405f734a2de76351528ebd3c4 /PC/_winreg.c
parentc0d24d8bbf026e9f9b8f6cb38ffa8cbc7b696d05 (diff)
downloadcpython-270e19b060fc027c10d44a2f4941673b6165f419.zip
cpython-270e19b060fc027c10d44a2f4941673b6165f419.tar.gz
cpython-270e19b060fc027c10d44a2f4941673b6165f419.tar.bz2
Update the module name to _winreg, pending checkin of Paul Prescod's
OO wrapper for this module.
Diffstat (limited to 'PC/_winreg.c')
-rw-r--r--PC/_winreg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c
index 543a366..f92476e 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -1,5 +1,5 @@
/*
- winreg.c
+ _winreg.c
Windows Registry access module for Python.
@@ -1403,10 +1403,10 @@ inskey(PyObject * d, char * name, HKEY key)
#define ADD_KEY(val) inskey(d, #val, val)
-__declspec(dllexport) void initwinreg(void)
+__declspec(dllexport) void init_winreg(void)
{
PyObject *m, *d;
- m = Py_InitModule3("winreg", winreg_methods, module_doc);
+ m = Py_InitModule3("_winreg", winreg_methods, module_doc);
d = PyModule_GetDict(m);
PyHKEY_Type.ob_type = &PyType_Type;
PyHKEY_Type.tp_doc = PyHKEY_doc;