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
eccd02a4
Kaydet (Commit)
eccd02a4
authored
Ock 20, 2001
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more __all__ updates
üst
e78b92a0
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
34 additions
and
0 deletions
+34
-0
doctest.py
Lib/doctest.py
+2
-0
dospath.py
Lib/dospath.py
+4
-0
dumbdbm.py
Lib/dumbdbm.py
+2
-0
filecmp.py
Lib/filecmp.py
+2
-0
fileinput.py
Lib/fileinput.py
+3
-0
fnmatch.py
Lib/fnmatch.py
+2
-0
fpformat.py
Lib/fpformat.py
+2
-0
ftplib.py
Lib/ftplib.py
+1
-0
getopt.py
Lib/getopt.py
+2
-0
getpass.py
Lib/getpass.py
+2
-0
glob.py
Lib/glob.py
+1
-0
test___all__.py
Lib/test/test___all__.py
+11
-0
No files found.
Lib/doctest.py
Dosyayı görüntüle @
eccd02a4
...
@@ -371,6 +371,8 @@ _isEmpty = re.compile(r"\s*$").match
...
@@ -371,6 +371,8 @@ _isEmpty = re.compile(r"\s*$").match
_isComment
=
re
.
compile
(
r"\s*#"
)
.
match
_isComment
=
re
.
compile
(
r"\s*#"
)
.
match
del
re
del
re
__all__
=
[]
# Extract interactive examples from a string. Return a list of triples,
# Extract interactive examples from a string. Return a list of triples,
# (source, outcome, lineno). "source" is the source code, and ends
# (source, outcome, lineno). "source" is the source code, and ends
# with a newline iff the source spans more than one line. "outcome" is
# with a newline iff the source spans more than one line. "outcome" is
...
...
Lib/dospath.py
Dosyayı görüntüle @
eccd02a4
...
@@ -3,6 +3,10 @@
...
@@ -3,6 +3,10 @@
import
os
import
os
import
stat
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"
]
def
normcase
(
s
):
def
normcase
(
s
):
"""Normalize the case of a pathname.
"""Normalize the case of a pathname.
...
...
Lib/dumbdbm.py
Dosyayı görüntüle @
eccd02a4
...
@@ -24,6 +24,8 @@ is read when the database is opened, and some updates rewrite the whole index)
...
@@ -24,6 +24,8 @@ is read when the database is opened, and some updates rewrite the whole index)
_os
=
__import__
(
'os'
)
_os
=
__import__
(
'os'
)
import
__builtin__
import
__builtin__
__all__
=
[
"open"
]
_open
=
__builtin__
.
open
_open
=
__builtin__
.
open
_BLOCKSIZE
=
512
_BLOCKSIZE
=
512
...
...
Lib/filecmp.py
Dosyayı görüntüle @
eccd02a4
...
@@ -13,6 +13,8 @@ import os
...
@@ -13,6 +13,8 @@ import os
import
stat
import
stat
import
statcache
import
statcache
__all__
=
[
"cmp"
,
"dircmp"
,
"cmpfiles"
]
_cache
=
{}
_cache
=
{}
BUFSIZE
=
8
*
1024
BUFSIZE
=
8
*
1024
...
...
Lib/fileinput.py
Dosyayı görüntüle @
eccd02a4
...
@@ -81,6 +81,9 @@ XXX Possible additions:
...
@@ -81,6 +81,9 @@ XXX Possible additions:
import
sys
,
os
,
stat
import
sys
,
os
,
stat
__all__
=
[
"input"
,
"close"
,
"nextfile"
,
"filename"
,
"lineno"
,
"filelineno"
,
"isfirstline"
,
"isstdin"
,
"FileInput"
]
_state
=
None
_state
=
None
DEFAULT_BUFSIZE
=
8
*
1024
DEFAULT_BUFSIZE
=
8
*
1024
...
...
Lib/fnmatch.py
Dosyayı görüntüle @
eccd02a4
...
@@ -12,6 +12,8 @@ corresponding to PATTERN. (It does not compile it.)
...
@@ -12,6 +12,8 @@ corresponding to PATTERN. (It does not compile it.)
import
re
import
re
__all__
=
[
"fnmatch"
,
"fnmatchcase"
,
"translate"
]
_cache
=
{}
_cache
=
{}
def
fnmatch
(
name
,
pat
):
def
fnmatch
(
name
,
pat
):
...
...
Lib/fpformat.py
Dosyayı görüntüle @
eccd02a4
...
@@ -13,6 +13,8 @@ digits_behind: number of digits behind the decimal point
...
@@ -13,6 +13,8 @@ digits_behind: number of digits behind the decimal point
import
re
import
re
__all__
=
[
"fix"
,
"sci"
,
"NotANumber"
]
# Compiled regular expression to "decode" a number
# Compiled regular expression to "decode" a number
decoder
=
re
.
compile
(
r'^([-+]?)0*(\d*)((?:\.\d*)?)(([eE][-+]?\d+)?)$'
)
decoder
=
re
.
compile
(
r'^([-+]?)0*(\d*)((?:\.\d*)?)(([eE][-+]?\d+)?)$'
)
# \0 the whole thing
# \0 the whole thing
...
...
Lib/ftplib.py
Dosyayı görüntüle @
eccd02a4
...
@@ -45,6 +45,7 @@ try:
...
@@ -45,6 +45,7 @@ try:
except
ImportError
:
except
ImportError
:
import
socket
import
socket
__all__
=
[
"FTP"
,
"Netrc"
]
# Magic number from <socket.h>
# Magic number from <socket.h>
MSG_OOB
=
0x1
# Process data out of band
MSG_OOB
=
0x1
# Process data out of band
...
...
Lib/getopt.py
Dosyayı görüntüle @
eccd02a4
...
@@ -17,6 +17,8 @@ option involved with the exception.
...
@@ -17,6 +17,8 @@ option involved with the exception.
# Gerrit Holl <gerrit@nl.linux.org> moved the string-based exceptions
# Gerrit Holl <gerrit@nl.linux.org> moved the string-based exceptions
# to class-based exceptions.
# to class-based exceptions.
__all__
=
[
"GetoptError"
,
"error"
,
"getopt"
]
class
GetoptError
(
Exception
):
class
GetoptError
(
Exception
):
opt
=
''
opt
=
''
msg
=
''
msg
=
''
...
...
Lib/getpass.py
Dosyayı görüntüle @
eccd02a4
...
@@ -13,6 +13,8 @@ On the Mac EasyDialogs.AskPassword is used, if available.
...
@@ -13,6 +13,8 @@ On the Mac EasyDialogs.AskPassword is used, if available.
import
sys
import
sys
__all__
=
[
"getpass"
,
"getuser"
]
def
unix_getpass
(
prompt
=
'Password: '
):
def
unix_getpass
(
prompt
=
'Password: '
):
"""Prompt for a password, with echo turned off.
"""Prompt for a password, with echo turned off.
...
...
Lib/glob.py
Dosyayı görüntüle @
eccd02a4
...
@@ -4,6 +4,7 @@ import os
...
@@ -4,6 +4,7 @@ import os
import
fnmatch
import
fnmatch
import
re
import
re
__all__
=
[
"glob"
]
def
glob
(
pathname
):
def
glob
(
pathname
):
"""Return a list of paths matching a pathname pattern.
"""Return a list of paths matching a pathname pattern.
...
...
Lib/test/test___all__.py
Dosyayı görüntüle @
eccd02a4
...
@@ -52,4 +52,15 @@ check_all("copy_reg")
...
@@ -52,4 +52,15 @@ check_all("copy_reg")
check_all
(
"dbhash"
)
check_all
(
"dbhash"
)
check_all
(
"dircache"
)
check_all
(
"dircache"
)
check_all
(
"dis"
)
check_all
(
"dis"
)
check_all
(
"doctest"
)
check_all
(
"dospath"
)
check_all
(
"dumbdbm"
)
check_all
(
"filecmp"
)
check_all
(
"fileinput"
)
check_all
(
"fnmatch"
)
check_all
(
"fpformat"
)
check_all
(
"ftplib"
)
check_all
(
"getopt"
)
check_all
(
"getpass"
)
check_all
(
"glob"
)
check_all
(
"robotparser"
)
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