diff Doc/perl/python.perl @ 10598:c8759ba83552 legacy-trunk

Fix problem of LaTeX leakage in the module synopsis tables at the beginning of chapters. Known problem reported by Barry Scott <barry@scottb.demon.co.uk>.
author Fred Drake <fdrake@acm.org>
date Tue, 13 Apr 1999 22:08:59 +0000
parents f74ef1971bd1
children bed15a015c1c
line wrap: on
line diff
--- a/Doc/perl/python.perl	Tue Apr 13 22:03:26 1999 +0000
+++ b/Doc/perl/python.perl	Tue Apr 13 22:08:59 1999 +0000
@@ -1003,7 +1003,7 @@
 sub do_cmd_modulesynopsis{
     local($_) = @_;
     my $st = get_synopsis_table(get_chapter_id());
-    $st->set_synopsis($THIS_MODULE, next_argument());
+    $st->set_synopsis($THIS_MODULE, translate_commands(next_argument()));
     return $_;
 }