Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
53714970
Kaydet (Commit)
53714970
authored
Nis 02, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed an obsolete hack that's been commented out for a long time.
Added comments to various sections.
üst
1191692d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
python.sty
Doc/texinputs/python.sty
+10
-10
No files found.
Doc/texinputs/python.sty
Dosyayı görüntüle @
53714970
...
...
@@ -228,16 +228,6 @@
}
\expandafter\endgroup\next
%
% This is the old hack, which didn't work with 2e.
% You should not need this since the rest of the documentation is now
% LaTeX2e-only.
%
%\def\_{\ifnum\fam=\ttfamily \char'137\else{\tt\char'137}\fi}
%\catcode`\_=12
%\catcode`\_=\active\def_{\ifnum\fam=\ttfamily \char'137 \else{\tt\char'137}\fi}
%% Lots of index-entry generation support.
...
...
@@ -328,6 +318,12 @@
\endgroup
%
}
% Now for a lot of semantically-loaded environments that do a ton of magical
% things to get the right formatting and index entries for the stuff in
% Python modules and C API.
% {fulllineitems} is used in one place in libregex.tex, but is really for
% internal use in this file.
%
...
...
@@ -499,6 +495,8 @@
\newcommand
{
\EOF
}{{
\sc
eof
}}
\newcommand
{
\NULL
}{
\sectcode
{
NULL
}}
% Also for consistency: spell Python "Python", not "python"!
% code is the most difficult one...
\newcommand
{
\code
}
[1]
{{
\@
vobeyspaces
\@
noligs
\def\{
{
\char
`
\{
}
\def\}
{
\char
`
\}
}
\def\~
{
\char
`
\~
}
\def\^
{
\char
`
\^
}
\def\e
{
\char
`
\\
}
\def\$
{
\char
`
\$
}
\def\#
{
\char
`
\#
}
\def\&
{
\char
`
\&
}
\def\%
{
\char
`
\%
}
%
\mbox
{
\codefont
{
#1
}}}}
...
...
@@ -554,6 +552,8 @@
\let\member
=
\sectcode
\let\method
=
\sectcode
\newcommand
{
\pytype
}
[1]
{
#1
}
% built-in Python type
\let\cfunction
=
\sectcode
\let\ctype
=
\sectcode
\let\cdata
=
\sectcode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment