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
e280c06d
Kaydet (Commit)
e280c06d
authored
Mar 23, 2001
tarafından
Ka-Ping Yee
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Browser compatibility fixes.
Show methods aliased into a class from other classes.
üst
e702481d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
pydoc.py
Lib/pydoc.py
+8
-7
No files found.
Lib/pydoc.py
Dosyayı görüntüle @
e280c06d
...
...
@@ -258,8 +258,9 @@ class HTMLDoc(Doc):
return
'''
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python:
%
s</title>
<style>TT { font-family: lucida console, lucida typewriter, courier }</style>
</head><body bgcolor="#f0f0f8">
<style type="text/css"><!--
TT { font-family: lucida console, lucida typewriter, courier }
--></style></head><body bgcolor="#f0f0f8">
%
s
</body></html>'''
%
(
title
,
contents
)
...
...
@@ -440,7 +441,7 @@ class HTMLDoc(Doc):
modules
=
inspect
.
getmembers
(
object
,
inspect
.
ismodule
)
if
0
and
hasattr
(
object
,
'__all__'
):
if
0
and
hasattr
(
object
,
'__all__'
):
# disabled for now
visible
=
lambda
key
,
all
=
object
.
__all__
:
key
in
all
else
:
visible
=
lambda
key
:
key
[:
1
]
!=
'_'
...
...
@@ -473,7 +474,7 @@ class HTMLDoc(Doc):
doc
=
self
.
markup
(
getdoc
(
object
),
self
.
preformat
,
fdict
,
cdict
)
doc
=
doc
and
'<tt>
%
s</tt>'
%
doc
result
=
result
+
'<p>
%
s
\n
'
%
self
.
small
(
doc
)
result
=
result
+
'<p>
%
s
</p>
\n
'
%
self
.
small
(
doc
)
if
hasattr
(
object
,
'__path__'
):
modpkgs
=
[]
...
...
@@ -575,7 +576,7 @@ class HTMLDoc(Doc):
skipdocs
=
0
if
inspect
.
ismethod
(
object
):
if
cl
:
if
not
cl
.
__dict__
.
has_key
(
name
)
:
if
object
.
im_class
is
not
cl
:
base
=
object
.
im_class
url
=
'#
%
s-
%
s'
%
(
base
.
__name__
,
name
)
basename
=
base
.
__name__
...
...
@@ -595,7 +596,7 @@ class HTMLDoc(Doc):
else
:
if
(
cl
and
cl
.
__dict__
.
has_key
(
realname
)
and
cl
.
__dict__
[
realname
]
is
object
):
reallink
=
'<a href="
%
s">
%
s</a>'
%
(
reallink
=
'<a href="
#
%
s">
%
s</a>'
%
(
cl
.
__name__
+
'-'
+
realname
,
realname
)
skipdocs
=
1
else
:
...
...
@@ -846,7 +847,7 @@ class TextDoc(Doc):
skipdocs
=
0
if
inspect
.
ismethod
(
object
):
if
cl
:
if
not
cl
.
__dict__
.
has_key
(
name
)
:
if
object
.
im_class
is
not
cl
:
base
=
object
.
im_class
basename
=
base
.
__name__
if
base
.
__module__
!=
cl
.
__module__
:
...
...
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