We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d253e5 + 2422870 commit 46389bdCopy full SHA for 46389bd
doc/sphinx/source/exceptions.rst
@@ -178,6 +178,7 @@ Often you need to create an Exception class that is specialised to a particular
178
if (! ExceptionBase) {
179
return NULL;
180
} else {
181
+ Py_INCREF(ExceptionBase);
182
PyModule_AddObject(m, "ExceptionBase", ExceptionBase);
183
}
184
/* Now a sub-class exception that inherits from the base exception above.
@@ -193,6 +194,7 @@ Often you need to create an Exception class that is specialised to a particular
193
194
if (! SpecialisedError) {
195
196
197
+ Py_INCREF(SpecialisedError);
198
PyModule_AddObject(m, "SpecialisedError", SpecialisedError);
199
200
/* END: Initialise exceptions here. */
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments