diff options
author | Daniel Stutzbach <daniel@stutzbachenterprises.com> | 2010-09-14 16:07:54 (GMT) |
---|---|---|
committer | Daniel Stutzbach <daniel@stutzbachenterprises.com> | 2010-09-14 16:07:54 (GMT) |
commit | bd63a9976db5f8ae5af4fdb5e639b9fd1fa948f5 (patch) | |
tree | 520aa70091186908bac4bf2611be98e9505ed2f9 /Doc | |
parent | 5974cdd5f598423002709d912276963c2032c69a (diff) | |
download | cpython-bd63a9976db5f8ae5af4fdb5e639b9fd1fa948f5.zip cpython-bd63a9976db5f8ae5af4fdb5e639b9fd1fa948f5.tar.gz cpython-bd63a9976db5f8ae5af4fdb5e639b9fd1fa948f5.tar.bz2 |
Merged revisions 84810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84810 | daniel.stutzbach | 2010-09-14 11:02:01 -0500 (Tue, 14 Sep 2010) | 1 line
Remove pointers to a FAQ entry that no longer exists. Incorporate some text from the old FAQ into the docs
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/extending/windows.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/extending/windows.rst b/Doc/extending/windows.rst index 8d1986f..6733666 100644 --- a/Doc/extending/windows.rst +++ b/Doc/extending/windows.rst @@ -171,7 +171,9 @@ If your module creates a new type, you may have trouble with this line:: PyVarObject_HEAD_INIT(&PyType_Type, 0) -Change it to:: +Static type object initializers in extension modules may cause +compiles to fail with an error message like "initializer not a +constant". This shows up when building DLL under MSVC. Change it to:: PyVarObject_HEAD_INIT(NULL, 0) @@ -179,8 +181,6 @@ and add the following to the module initialization function:: MyObject_Type.ob_type = &PyType_Type; -Refer to section 3 of the `Python FAQ <http://www.python.org/doc/faq>`_ for -details on why you must do this. .. _dynamic-linking: |