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
2dd42765
Kaydet (Commit)
2dd42765
authored
Ock 23, 2001
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
added a few more __all__ lists
fixed typo in ihooks docstring
üst
26e94a88
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
1 deletion
+26
-1
gettext.py
Lib/gettext.py
+3
-0
gopherlib.py
Lib/gopherlib.py
+2
-0
gzip.py
Lib/gzip.py
+2
-0
htmlentitydefs.py
Lib/htmlentitydefs.py
+2
-0
htmllib.py
Lib/htmllib.py
+1
-0
httplib.py
Lib/httplib.py
+2
-0
ihooks.py
Lib/ihooks.py
+3
-1
imaplib.py
Lib/imaplib.py
+3
-0
test___all__.py
Lib/test/test___all__.py
+8
-0
No files found.
Lib/gettext.py
Dosyayı görüntüle @
2dd42765
...
@@ -48,6 +48,9 @@ import sys
...
@@ -48,6 +48,9 @@ import sys
import
struct
import
struct
from
errno
import
ENOENT
from
errno
import
ENOENT
__all__
=
[
"bindtextdomain"
,
"textdomain"
,
"gettext"
,
"dgettext"
,
"find"
,
"translation"
,
"install"
,
"Catalog"
]
_default_localedir
=
os
.
path
.
join
(
sys
.
prefix
,
'share'
,
'locale'
)
_default_localedir
=
os
.
path
.
join
(
sys
.
prefix
,
'share'
,
'locale'
)
...
...
Lib/gopherlib.py
Dosyayı görüntüle @
2dd42765
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
import
string
import
string
__all__
=
[
"send_selector"
,
"send_query"
]
# Default selector, host and port
# Default selector, host and port
DEF_SELECTOR
=
'1/'
DEF_SELECTOR
=
'1/'
DEF_HOST
=
'gopher.micro.umn.edu'
DEF_HOST
=
'gopher.micro.umn.edu'
...
...
Lib/gzip.py
Dosyayı görüntüle @
2dd42765
...
@@ -9,6 +9,8 @@ import string, struct, sys, time
...
@@ -9,6 +9,8 @@ import string, struct, sys, time
import
zlib
import
zlib
import
__builtin__
import
__builtin__
__all__
=
[
"GzipFile"
,
"open"
]
FTEXT
,
FHCRC
,
FEXTRA
,
FNAME
,
FCOMMENT
=
1
,
2
,
4
,
8
,
16
FTEXT
,
FHCRC
,
FEXTRA
,
FNAME
,
FCOMMENT
=
1
,
2
,
4
,
8
,
16
READ
,
WRITE
=
1
,
2
READ
,
WRITE
=
1
,
2
...
...
Lib/htmlentitydefs.py
Dosyayı görüntüle @
2dd42765
"""HTML character entity references."""
"""HTML character entity references."""
__all__
=
[
"entitydefs"
]
entitydefs
=
{
entitydefs
=
{
'AElig'
:
'
\306
'
,
# latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
'AElig'
:
'
\306
'
,
# latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
'Aacute'
:
'
\301
'
,
# latin capital letter A with acute, U+00C1 ISOlat1
'Aacute'
:
'
\301
'
,
# latin capital letter A with acute, U+00C1 ISOlat1
...
...
Lib/htmllib.py
Dosyayı görüntüle @
2dd42765
...
@@ -9,6 +9,7 @@ import string
...
@@ -9,6 +9,7 @@ import string
from
sgmllib
import
SGMLParser
from
sgmllib
import
SGMLParser
from
formatter
import
AS_IS
from
formatter
import
AS_IS
__all__
=
[
"HTMLParser"
]
class
HTMLParser
(
SGMLParser
):
class
HTMLParser
(
SGMLParser
):
...
...
Lib/httplib.py
Dosyayı görüntüle @
2dd42765
...
@@ -74,6 +74,8 @@ try:
...
@@ -74,6 +74,8 @@ try:
except
ImportError
:
except
ImportError
:
from
StringIO
import
StringIO
from
StringIO
import
StringIO
__all__
=
[
"HTTP"
]
HTTP_PORT
=
80
HTTP_PORT
=
80
HTTPS_PORT
=
443
HTTPS_PORT
=
443
...
...
Lib/ihooks.py
Dosyayı görüntüle @
2dd42765
...
@@ -42,7 +42,7 @@ instantiated).
...
@@ -42,7 +42,7 @@ instantiated).
The classes defined here should be used as base classes for extended
The classes defined here should be used as base classes for extended
functionality along those lines.
functionality along those lines.
If a module mporter class supports dotted names, its import_module()
If a module
i
mporter class supports dotted names, its import_module()
must return a different value depending on whether it is called on
must return a different value depending on whether it is called on
behalf of a "from ... import ..." statement or not. (This is caused
behalf of a "from ... import ..." statement or not. (This is caused
by the way the __import__ hook is used by the Python interpreter.) It
by the way the __import__ hook is used by the Python interpreter.) It
...
@@ -57,6 +57,8 @@ import os
...
@@ -57,6 +57,8 @@ import os
import
sys
import
sys
import
string
import
string
__all__
=
[
"BasicModuleLoader"
,
"Hooks"
,
"ModuleLoader"
,
"FancyModuleLoader"
,
"BasicModuleImporter"
,
"ModuleImporter"
,
"install"
,
"uninstall"
]
VERBOSE
=
0
VERBOSE
=
0
...
...
Lib/imaplib.py
Dosyayı görüntüle @
2dd42765
...
@@ -18,6 +18,9 @@ __version__ = "2.39"
...
@@ -18,6 +18,9 @@ __version__ = "2.39"
import
binascii
,
re
,
socket
,
string
,
time
,
random
,
sys
import
binascii
,
re
,
socket
,
string
,
time
,
random
,
sys
__all__
=
[
"IMAP4"
,
"error"
,
"abort"
,
"readonly"
,
"Internaldate2tuple"
,
"Int2AP"
,
"ParseFlags"
,
"Time2InternalDate"
]
# Globals
# Globals
CRLF
=
'
\r\n
'
CRLF
=
'
\r\n
'
...
...
Lib/test/test___all__.py
Dosyayı görüntüle @
2dd42765
...
@@ -67,5 +67,13 @@ check_all("fpformat")
...
@@ -67,5 +67,13 @@ check_all("fpformat")
check_all
(
"ftplib"
)
check_all
(
"ftplib"
)
check_all
(
"getopt"
)
check_all
(
"getopt"
)
check_all
(
"getpass"
)
check_all
(
"getpass"
)
check_all
(
"gettext"
)
check_all
(
"glob"
)
check_all
(
"glob"
)
check_all
(
"gopher"
)
check_all
(
"gzip"
)
check_all
(
"htmlentitydefs"
)
check_all
(
"htmllib"
)
check_all
(
"httplib"
)
check_all
(
"ihooks"
)
check_all
(
"imaplib"
)
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