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
c62c81e0
Kaydet (Commit)
c62c81e0
authored
Şub 12, 2001
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
__all__ for several more modules
üst
81b6ae7e
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
35 additions
and
0 deletions
+35
-0
poplib.py
Lib/poplib.py
+2
-0
posixfile.py
Lib/posixfile.py
+2
-0
posixpath.py
Lib/posixpath.py
+5
-0
pprint.py
Lib/pprint.py
+2
-0
pre.py
Lib/pre.py
+2
-0
profile.py
Lib/profile.py
+1
-0
pstats.py
Lib/pstats.py
+2
-0
pty.py
Lib/pty.py
+2
-0
py_compile.py
Lib/py_compile.py
+2
-0
pyclbr.py
Lib/pyclbr.py
+2
-0
quopri.py
Lib/quopri.py
+2
-0
test___all__.py
Lib/test/test___all__.py
+11
-0
No files found.
Lib/poplib.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -14,6 +14,8 @@ Based on the J. Myers POP3 draft, Jan. 96
import
re
,
socket
__all__
=
[
"POP3"
,
"error_proto"
]
# Exception raised when an error or invalid response is received:
class
error_proto
(
Exception
):
pass
...
...
Lib/posixfile.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -53,6 +53,8 @@ f.lock(mode [, len [, start [, whence]]])
query only
"""
__all__
=
[
"open"
,
"fileopen"
,
"SEEK_SET"
,
"SEEK_CUR"
,
"SEEK_END"
]
class
_posixfile_
:
"""File wrapper class that provides extra POSIX file routines."""
...
...
Lib/posixpath.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -13,6 +13,11 @@ for manipulation of the pathname component of URLs.
import
os
import
stat
__all__
=
[
"normcase"
,
"isabs"
,
"join"
,
"splitdrive"
,
"split"
,
"splitext"
,
"basename"
,
"dirname"
,
"commonprefix"
,
"getsize"
,
"getmtime"
,
"getatime"
,
"islink"
,
"exists"
,
"isdir"
,
"isfile"
,
"ismount"
,
"walk"
,
"expanduser"
,
"expandvars"
,
"normpath"
,
"abspath"
,
"samefile"
,
"sameopenfile"
,
"samestat"
]
# Normalize the case of a pathname. Trivial in Posix, string.lower on Mac.
# On MS-DOS this may also turn slashes into backslashes; however, other
...
...
Lib/pprint.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -41,6 +41,8 @@ try:
except
ImportError
:
from
StringIO
import
StringIO
__all__
=
[
"pprint"
,
"pformat"
,
"isreadable"
,
"isrecursive"
,
"saferepr"
,
"PrettyPrinter"
]
def
pprint
(
object
,
stream
=
None
):
"""Pretty-print a Python object to a stream [default is sys.sydout]."""
...
...
Lib/pre.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -87,6 +87,8 @@ This module also defines an exception 'error'.
import
sys
from
pcre
import
*
__all__
=
[
"match"
,
"search"
,
"sub"
,
"subn"
,
"split"
,
"findall"
,
"escape"
,
"compile"
]
#
# First, the public part of the interface:
#
...
...
Lib/profile.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -40,6 +40,7 @@ import os
import
time
import
marshal
__all__
=
[
"run"
,
"help"
,
"Profile"
]
# Sample timer for use with
#i_count = 0
...
...
Lib/pstats.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -39,6 +39,8 @@ import re
import
fpformat
__all__
=
[
"Stats"
]
class
Stats
:
"""This class is used for creating reports from data generated by the
Profile class. It is a "friend" of that class, and imports data either
...
...
Lib/pty.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -10,6 +10,8 @@ from select import select
import
os
,
FCNTL
import
tty
__all__
=
[
"openpty"
,
"fork"
,
"spawn"
]
STDIN_FILENO
=
0
STDOUT_FILENO
=
1
STDERR_FILENO
=
2
...
...
Lib/py_compile.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -6,6 +6,8 @@ This module has intimate knowledge of the format of .pyc files.
import
imp
MAGIC
=
imp
.
get_magic
()
__all__
=
[
"compile"
]
def
wr_long
(
f
,
x
):
"""Internal; write a 32-bit int to a file in little-endian order."""
f
.
write
(
chr
(
x
&
0xff
))
...
...
Lib/pyclbr.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -59,6 +59,8 @@ import imp
import
re
import
string
__all__
=
[
"readmodule"
]
TABWIDTH
=
8
_getnext
=
re
.
compile
(
r"""
...
...
Lib/quopri.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -4,6 +4,8 @@
# (Dec 1991 version).
__all__
=
[
"encode"
,
"decode"
]
ESCAPE
=
'='
MAXLINESIZE
=
76
HEX
=
'0123456789ABCDEF'
...
...
Lib/test/test___all__.py
Dosyayı görüntüle @
c62c81e0
...
...
@@ -99,4 +99,15 @@ check_all("pdb")
check_all
(
"pickle"
)
check_all
(
"pipes"
)
check_all
(
"popen2"
)
check_all
(
"poplib"
)
check_all
(
"posixfile"
)
check_all
(
"posixpath"
)
check_all
(
"pprint"
)
check_all
(
"pre"
)
check_all
(
"profile"
)
check_all
(
"pstats"
)
check_all
(
"pty"
)
check_all
(
"py_compile"
)
check_all
(
"pyclbr"
)
check_all
(
"quopri"
)
check_all
(
"robotparser"
)
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