]> granicus.if.org Git - python/commitdiff
Fix previous nit to really do the right thing.
authorFred Drake <fdrake@acm.org>
Fri, 9 Jan 1998 16:26:54 +0000 (16:26 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 9 Jan 1998 16:26:54 +0000 (16:26 +0000)
Doc/myformat.perl

index 1e1252d363fd93312870612f1c5bd2fcf6bd6898..4eaea060b66429bbba804f15216c8920afd2c052 100644 (file)
@@ -182,7 +182,7 @@ sub do_cmd_refstmodindex{ &my_module_index_helper('standard', @_, 'REF'); }
 
 sub do_cmd_nodename{ &do_cmd_label(@_); }
 
-sub do_cmd_mytableofcontents{ &do_cmd_tableofcontents(@_); }
+sub do_cmd_mytableofcontents{ local($_) = @_; $_; }
 
 $any_next_pair_rx3 = "$O(\\d+)$C([\\s\\S]*)$O\\3$C";
 $any_next_pair_rx5 = "$O(\\d+)$C([\\s\\S]*)$O\\5$C";