Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 6682302 commit 3e4c614Copy full SHA for 3e4c614
1 file changed
Doc/perl/python.perl
@@ -493,6 +493,12 @@ sub make_mod_index_entry{
493
sub define_module{
494
my($word,$name) = @_;
495
my $section_tag = join('', @curr_sec_id);
496
+ if ($word ne "built-in" && $word ne "extension"
497
+ && $word ne "standard" && $word ne "") {
498
+ write_warnings("Bad module type '$word'"
499
+ . " for \\declaremodule (module $name)");
500
+ $word = "";
501
+ }
502
$word = "$word " if $word;
503
$THIS_MODULE = "$name";
504
$INDEX_SUBITEM = "(in $name)";
0 commit comments