Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc2b81e

Browse files
committed
\py@varvars: Merge the various definitions to be the simplist one that
does everything needed, and discard the older stuff that is not being used.
1 parent 8b168ba commit cc2b81e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,13 +750,10 @@
750750
\newcommand{\email}[1]{{\small\textsf{#1}}}
751751
\newcommand{\newsgroup}[1]{{\small\textsf{#1}}}
752752

753-
%\newcommand{\py@varvars}[1]{{\def\,{\/{\char`\,}}\var{#1}}}
754-
\newcommand{\py@varvars}[1]{%
753+
\newcommand{\py@varvars}[1]{{%
755754
{\let\unspecified=\py@unspecified%
756755
\let\moreargs=\py@moreargs%
757-
\def\,{\/{\char`\,}}\var{#1}}}
758-
% let's see if this breaks anything now; we may be able to simplify...
759-
\renewcommand{\py@varvars}[1]{\var{#1}}
756+
\var{#1}}}}
760757

761758
% I'd really like to get rid of this!
762759
\newif\iftexi\texifalse

0 commit comments

Comments
 (0)