%If you input this file you will get exactly the same definitions as if you input the default pywords.tex.
% It uses the "FormatAs" variant, that defines the words in a way that is better in TeX's internals. But
% you may not notice the difference.
%If any word category is added, the corresponding "FormatAs" macro has to be included here, otherwise
% an undefined-c.s. error will arise when a word from that category is used.

\def\FormatAsPunctuator{\FormatPunctuator}
\def\FormatAsStrPrefix{\FormatStrPrefix}
\def\FormatAsWidePrefix{\FormatWidePrefix}
\def\FormatAsRawPrefix{\FormatWidePrefix}
\def\FormatAsFormattedPrefix{\FormatFormattedPrefix}
\def\FormatAsRemoved{\FormatRemoved}
\def\FormatAsKeyword{\FormatKeyword}
\def\FormatAsImporting{\FormatImporting}
\def\FormatAsScope{\FormatScope}
\def\FormatAsStatement{\FormatStatement}
\def\FormatAsLoop{\FormatLoop}
\def\FormatAsJump{\FormatJump}
\def\FormatAsTiming{\FormatTiming}
\def\FormatAsExceptionHandling{\FormatExceptionHandling}
\def\FormatAsDefinition{\FormatDefinition}
\def\FormatAsKWOperator{\FormatKWOperator}
\def\FormatAsNamedConstant{\FormatNamedConstant}
\def\FormatAsBuiltInMethod{\FormatBuiltInMethod}
\def\FormatAsBuiltInAttribute{\FormatBuiltInAttribute}
\def\FormatAsBuiltInFunction{\FormatBuiltInFunction}
\def\FormatAsBuiltInException{\FormatBuiltInException}
\def\FormatAsBuiltInType{\FormatBuiltInType}
\def\FormatAsTopLevelEnvironment{\FormatTopLevelEnvironment}
\def\FormatAsFunction{\FormatFunction}
\def\FormatAsMethod{\FormatMethod}
\def\FormatAsFunctionOrMethod{\FormatFunctionOrMethod}

\def\FormatAspyPunctuator{\FormatPunctuator}
\def\FormatAspyStrPrefix{\FormatStrPrefix}
\def\FormatAspyWidePrefix{\FormatWidePrefix}
\def\FormatAspyRawPrefix{\FormatWidePrefix}
\def\FormatAspyFormattedPrefix{\FormatFormattedPrefix}
\def\FormatAspyRemoved{\FormatRemoved}
\def\FormatAspyKeyword{\FormatKeyword}
\def\FormatAspyImporting{\FormatImporting}
\def\FormatAspyScope{\FormatScope}
\def\FormatAspyStatement{\FormatStatement}
\def\FormatAspyLoop{\FormatLoop}
\def\FormatAspyJump{\FormatJump}
\def\FormatAspyTiming{\FormatTiming}
\def\FormatAspyExceptionHandling{\FormatExceptionHandling}
\def\FormatAspyDefinition{\FormatDefinition}
\def\FormatAspyKWOperator{\FormatKWOperator}
\def\FormatAspyNamedConstant{\FormatNamedConstant}
\def\FormatAspyBuiltInMethod{\FormatBuiltInMethod}
\def\FormatAspyBuiltInAttribute{\FormatBuiltInAttribute}
\def\FormatAspyBuiltInFunction{\FormatBuiltInFunction}
\def\FormatAspyBuiltInException{\FormatBuiltInException}
\def\FormatAspyBuiltInType{\FormatBuiltInType}
\def\FormatAspyTopLevelEnvironment{\FormatTopLevelEnvironment}
\def\FormatAspyFunction{\FormatFunction}
\def\FormatAspyMethod{\FormatMethod}
\def\FormatAspyFunctionOrMethod{\FormatFunctionOrMethod}

\let\MakeWord\MakeWordIndirect
\input pywords.tex
\let\MakeWord\MakeWordSlow