File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,10 +102,14 @@ described here are distributed with the Python sources in the
102102 and it should call :cfunc: `Py_InitModule ` with the string ``"spam" `` as its
103103 first argument (use the minimal :file: `example.c ` in this directory as a guide).
104104 By convention, it lives in a file called :file: `spam.c ` or :file: `spammodule.c `.
105- The output file should be called :file: `spam.dll ` or :file: `spam.pyd ` (the
106- latter is supported to avoid confusion with a system library :file: `spam.dll ` to
107- which your module could be a Python interface) in Release mode, or
108- :file: `spam_d.dll ` or :file: `spam_d.pyd ` in Debug mode.
105+ The output file should be called :file: `spam.pyd ` (in Release mode) or
106+ :file: `spam_d.pyd ` (in Debug mode). The extension :file: `.pyd ` was chosen
107+ to avoid confusion with a system library :file: `spam.dll ` to which your module
108+ could be a Python interface.
109+
110+ .. versionchanged :: 2.5
111+ Previously, file names like :file: `spam.dll ` (in release mode) or
112+ :file: `spam_d.dll ` (in debug mode) were also recognized.
109113
110114 Now your options are:
111115
You can’t perform that action at this time.
0 commit comments