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 2a274a7 commit 16bb419Copy full SHA for 16bb419
2 files changed
Doc/perl/python.perl
@@ -716,6 +716,10 @@ sub do_cmd_token{
716
return "<a href=\"$target\">$token</a>" . $_;
717
}
718
719
+sub do_cmd_grammartoken{
720
+ return do_cmd_token(@_);
721
+}
722
+
723
sub do_env_productionlist{
724
local($_) = @_;
725
my $lang = next_optional_argument();
Doc/texinputs/python.sty
@@ -867,11 +867,13 @@
867
\newcommand{\citetitle}[2][URL]{\emph{#2}}
868
869
870
+\newcommand{\grammartoken}[1]{\texttt{#1}}
871
\newenvironment{productionlist}[1][\py@badkey]{
872
\def\optional##1{{\Large[}##1{\Large]}}
873
\def\production##1##2{\code{##1}&::=&\code{##2}\\}
874
\def\orgroup##1{{\def\or{\textbar\ }##1}}
875
\def\token##1{##1}
876
+ \let\grammartoken=\token
877
\begin{center}
878
\begin{tabular}{lcl}
879
}{%
0 commit comments