Author: walter.doerwald
Date: Tue Jun 12 17:23:50 2007
New Revision: 55928

Modified:
   python/branches/py3k-struni/Python/modsupport.c
Log:
Make module docstrings unicode objects.


Modified: python/branches/py3k-struni/Python/modsupport.c
==============================================================================
--- python/branches/py3k-struni/Python/modsupport.c     (original)
+++ python/branches/py3k-struni/Python/modsupport.c     Tue Jun 12 17:23:50 2007
@@ -92,7 +92,7 @@
                Py_DECREF(n);
        }
        if (doc != NULL) {
-               v = PyString_FromString(doc);
+               v = PyUnicode_FromString(doc);
                if (v == NULL || PyDict_SetItemString(d, "__doc__", v) != 0) {
                        Py_XDECREF(v);
                        return NULL;
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to