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
8ded4779
Kaydet (Commit)
8ded4779
authored
14 years ago
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
üst
42a0ba7b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
cporting.rst
Doc/howto/cporting.rst
+1
-1
pkgutil.rst
Doc/library/pkgutil.rst
+2
-2
runpy.rst
Doc/library/runpy.rst
+3
-3
threading.rst
Doc/library/threading.rst
+1
-1
wsgiref.rst
Doc/library/wsgiref.rst
+1
-1
zipimport.rst
Doc/library/zipimport.rst
+2
-2
No files found.
Doc/howto/cporting.rst
Dosyayı görüntüle @
8ded4779
...
...
@@ -118,7 +118,7 @@ can also be used in some cases. ::
Module initialization and state
===============================
Python 3.0 has a revamped extension module initialization system. (See
PEP
Python 3.0 has a revamped extension module initialization system. (See
:pep:`3121`.) Instead of storing module state in globals, they should be stored
in an interpreter specific structure. Creating modules that act correctly in
both 2.x and 3.0 is tricky. The following simple example demonstrates how. ::
...
...
This diff is collapsed.
Click to expand it.
Doc/library/pkgutil.rst
Dosyayı görüntüle @
8ded4779
...
...
@@ -45,7 +45,7 @@ This module provides functions to manipulate packages:
Get a resource from a package.
This is a wrapper for the
PEP 302
loader :func:`get_data` API. The package
This is a wrapper for the
:pep:`302`
loader :func:`get_data` API. The package
argument should be the name of a package, in standard module format
(foo.bar). The resource argument should be in the form of a relative
filename, using ``/`` as the path separator. The parent directory name
...
...
@@ -60,5 +60,5 @@ This module provides functions to manipulate packages:
d = os.path.dirname(sys.modules[package].__file__)
data = open(os.path.join(d, resource), 'rb').read()
If the package cannot be located or loaded, or it uses a
PEP 302
loader
If the package cannot be located or loaded, or it uses a
:pep:`302`
loader
which does not support :func:`get_data`, then None is returned.
This diff is collapsed.
Click to expand it.
Doc/library/runpy.rst
Dosyayı görüntüle @
8ded4779
...
...
@@ -20,7 +20,7 @@ The :mod:`runpy` module provides two functions:
Execute
the
code
of
the
specified
module
and
return
the
resulting
module
globals
dictionary
.
The
module
's code is first located using the standard
import mechanism (refer to
PEP 302
for details) and then executed in a
import mechanism (refer to
:pep:`302`
for details) and then executed in a
fresh module namespace.
If the supplied module name refers to a package rather than a normal
...
...
@@ -47,7 +47,7 @@ The :mod:`runpy` module provides two functions:
loader
does
not
make
filename
information
available
,
this
variable
is
set
to
:
const
:`
None
`.
``
__loader__
``
is
set
to
the
PEP
302
module
loader
used
to
retrieve
the
``
__loader__
``
is
set
to
the
:
pep
:`
302
`
module
loader
used
to
retrieve
the
code
for
the
module
(
This
loader
may
be
a
wrapper
around
the
standard
import
mechanism
).
...
...
@@ -105,7 +105,7 @@ The :mod:`runpy` module provides two functions:
loader does not make filename information available, this variable is set
to :const:`None`. For a simple script, this will be set to ``file_path``.
``__loader__`` is set to the
PEP 302
module loader used to retrieve the
``__loader__`` is set to the
:pep:`302`
module loader used to retrieve the
code for the module (This loader may be a wrapper around the standard
import mechanism). For a simple script, this will be set to :const:`None`.
...
...
This diff is collapsed.
Click to expand it.
Doc/library/threading.rst
Dosyayı görüntüle @
8ded4779
...
...
@@ -14,7 +14,7 @@ The :mod:`dummy_threading` module is provided for situations where
.. note::
Starting with Python 2.6, this module provides
PEP 8
compliant aliases and
Starting with Python 2.6, this module provides
:pep:`8`
compliant aliases and
properties to replace the ``camelCase`` names that were inspired by Java's
threading API. This updated API is compatible with that of the
:mod:`multiprocessing` module. However, no schedule has been set for the
...
...
This diff is collapsed.
Click to expand it.
Doc/library/wsgiref.rst
Dosyayı görüntüle @
8ded4779
...
...
@@ -712,7 +712,7 @@ This is a working "Hello World" WSGI application::
# use a function (note that you're not limited to a function, you can
# use a class for example). The first argument passed to the function
# is a dictionary containing CGI-style envrironment variables and the
# second variable is the callable object (see
PEP333
)
# second variable is the callable object (see
:pep:`333`
)
def hello_world_app(environ, start_response):
status = '200 OK' # HTTP Status
headers = [('Content-type', 'text/plain')] # HTTP Headers
...
...
This diff is collapsed.
Click to expand it.
Doc/library/zipimport.rst
Dosyayı görüntüle @
8ded4779
...
...
@@ -41,12 +41,12 @@ ZIP archives with an archive comment are currently not supported.
Documentation on the ZIP file format by Phil Katz, the creator of the format and
algorithms used.
:pep:`
0
273` - Import Modules from Zip Archives
:pep:`273` - Import Modules from Zip Archives
Written by James C. Ahlstrom, who also provided an implementation. Python 2.3
follows the specification in PEP 273, but uses an implementation written by Just
van Rossum that uses the import hooks described in PEP 302.
:pep:`
0
302` - New Import Hooks
:pep:`302` - New Import Hooks
The PEP to add the import hooks that help this module work.
...
...
This diff is collapsed.
Click to expand it.
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