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
b8c084e8
Kaydet (Commit)
b8c084e8
authored
Haz 14, 2003
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Support keyword and topics help in cli(). Fixes #715782.
üst
17fb5079
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
pydoc.py
Lib/pydoc.py
+6
-4
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/pydoc.py
Dosyayı görüntüle @
b8c084e8
...
@@ -2116,7 +2116,7 @@ def cli():
...
@@ -2116,7 +2116,7 @@ def cli():
else
:
else
:
writedoc
(
arg
)
writedoc
(
arg
)
else
:
else
:
doc
(
arg
)
help
.
help
(
arg
)
except
ErrorDuringImport
,
value
:
except
ErrorDuringImport
,
value
:
print
value
print
value
...
@@ -2126,9 +2126,11 @@ def cli():
...
@@ -2126,9 +2126,11 @@ def cli():
%
s <name> ...
%
s <name> ...
Show text documentation on something. <name> may be the name of a
Show text documentation on something. <name> may be the name of a
function, module, or package, or a dotted reference to a class or
Python keyword, topic, function, module, or package, or a dotted
function within a module or module in a package. If <name> contains
reference to a class or function within a module or module in a
a '
%
s', it is used as the path to a Python source file to document.
package. If <name> contains a '
%
s', it is used as the path to a
Python source file to document. If name is 'keywords', 'topics',
or 'modules', a listing of these things is displayed.
%
s -k <keyword>
%
s -k <keyword>
Search for a keyword in the synopsis lines of all available modules.
Search for a keyword in the synopsis lines of all available modules.
...
...
Misc/NEWS
Dosyayı görüntüle @
b8c084e8
...
@@ -111,6 +111,8 @@ Library
...
@@ -111,6 +111,8 @@ Library
Tools/Demos
Tools/Demos
-----------
-----------
- pydoc now offers help on keywords and topics.
- Tools/idle is gone; long live Lib/idlelib.
- Tools/idle is gone; long live Lib/idlelib.
- diff.py is a new script for print file diffs in context, unified, or ndiff
- diff.py is a new script for print file diffs in context, unified, or ndiff
...
...
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