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
577a6af8
Kaydet (Commit)
577a6af8
authored
Haz 09, 2011
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge doc fixes from 3.2
üst
f5949b5e
ebc991c0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
19 deletions
+33
-19
intro.rst
Doc/c-api/intro.rst
+2
-2
install.rst
Doc/distutils/install.rst
+9
-6
introduction.rst
Doc/distutils/introduction.rst
+8
-2
markup.rst
Doc/documenting/markup.rst
+6
-5
builtins.rst
Doc/library/builtins.rst
+3
-1
constants.rst
Doc/library/constants.rst
+2
-0
license.rst
Doc/license.rst
+2
-2
cmdline.rst
Doc/using/cmdline.rst
+1
-1
No files found.
Doc/c-api/intro.rst
Dosyayı görüntüle @
577a6af8
...
@@ -588,8 +588,8 @@ frequently-used builds will be described in the remainder of this section.
...
@@ -588,8 +588,8 @@ frequently-used builds will be described in the remainder of this section.
Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined produces
Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined produces
what is generally meant by "a debug build" of Python. :c:macro:`Py_DEBUG` is
what is generally meant by "a debug build" of Python. :c:macro:`Py_DEBUG` is
enabled in the Unix build by adding
:option:`--with-pydebug
` to the
enabled in the Unix build by adding
``--with-pydebug`
` to the
:file:`configure` command. It is also implied by the presence of the
:file:`
./
configure` command. It is also implied by the presence of the
not-Python-specific :c:macro:`_DEBUG` macro. When :c:macro:`Py_DEBUG` is enabled
not-Python-specific :c:macro:`_DEBUG` macro. When :c:macro:`Py_DEBUG` is enabled
in the Unix build, compiler optimization is disabled.
in the Unix build, compiler optimization is disabled.
...
...
Doc/distutils/install.rst
Dosyayı görüntüle @
577a6af8
...
@@ -96,10 +96,16 @@ in the name of the downloaded archive, e.g. :file:`foo-1.0.tar.gz` or
...
@@ -96,10 +96,16 @@ in the name of the downloaded archive, e.g. :file:`foo-1.0.tar.gz` or
directory: :file:`foo-1.0` or :file:`widget-0.9.7`. Additionally, the
directory: :file:`foo-1.0` or :file:`widget-0.9.7`. Additionally, the
distribution will contain a setup script :file:`setup.py`, and a file named
distribution will contain a setup script :file:`setup.py`, and a file named
:file:`README.txt` or possibly just :file:`README`, which should explain that
:file:`README.txt` or possibly just :file:`README`, which should explain that
building and installing the module distribution is a simple matter of running ::
building and installing the module distribution is a simple matter of running
one command from a terminal::
python setup.py install
python setup.py install
For Windows, this command should be run from a command prompt windows ("DOS
box")::
setup.py install
If all these things are true, then you already know how to build and install the
If all these things are true, then you already know how to build and install the
modules you've just downloaded: Run the command above. Unless you need to
modules you've just downloaded: Run the command above. Unless you need to
install things in a non-standard way or customize the build process, you don't
install things in a non-standard way or customize the build process, you don't
...
@@ -113,14 +119,11 @@ Standard Build and Install
...
@@ -113,14 +119,11 @@ Standard Build and Install
==========================
==========================
As described in section :ref:`inst-new-standard`, building and installing a module
As described in section :ref:`inst-new-standard`, building and installing a module
distribution using the Distutils is usually one simple command::
distribution using the Distutils is usually one simple command to run from a
terminal::
python setup.py install
python setup.py install
On Unix, you'd run this command from a shell prompt; on Windows, you have to
open a command prompt window ("DOS box") and do it there; on Mac OS X, you open
a :command:`Terminal` window to get a shell prompt.
.. _inst-platform-variations:
.. _inst-platform-variations:
...
...
Doc/distutils/introduction.rst
Dosyayı görüntüle @
577a6af8
...
@@ -79,11 +79,17 @@ Some observations:
...
@@ -79,11 +79,17 @@ Some observations:
for an example)
for an example)
To create a source distribution for this module, you would create a setup
To create a source distribution for this module, you would create a setup
script, :file:`setup.py`, containing the above code, and run::
script, :file:`setup.py`, containing the above code, and run this command from a
terminal::
python setup.py sdist
python setup.py sdist
which will create an archive file (e.g., tarball on Unix, ZIP file on Windows)
For Windows, open a command prompt windows ("DOS box") and change the command
to::
setup.py sdist
:command:`sdist` will create an archive file (e.g., tarball on Unix, ZIP file on Windows)
containing your setup script :file:`setup.py`, and your module :file:`foo.py`.
containing your setup script :file:`setup.py`, and your module :file:`foo.py`.
The archive file will be named :file:`foo-1.0.tar.gz` (or :file:`.zip`), and
The archive file will be named :file:`foo-1.0.tar.gz` (or :file:`.zip`), and
will unpack into a directory :file:`foo-1.0`.
will unpack into a directory :file:`foo-1.0`.
...
...
Doc/documenting/markup.rst
Dosyayı görüntüle @
577a6af8
...
@@ -98,11 +98,12 @@ following example shows all of the features of this directive type::
...
@@ -98,11 +98,12 @@ following example shows all of the features of this directive type::
Spam or ham the foo.
Spam or ham the foo.
The signatures of object methods or data attributes should always include the
The signatures of object methods or data attributes should not include the
type name (``.. method:: FileInput.input(...)``), even if it is obvious from the
class name, but be nested in a class directive. The generated files will
context which type they belong to; this is to enable consistent
reflect this nesting, and the target identifiers (for HTML output) will use
cross-references. If you describe methods belonging to an abstract protocol,
both the class and method name, to enable consistent cross-references. If you
such as "context managers", include a (pseudo-)type name too to make the
describe methods belonging to an abstract protocol such as context managers,
use a class directive with a (pseudo-)type name too to make the
index entries more informative.
index entries more informative.
The directives are:
The directives are:
...
...
Doc/library/builtins.rst
Dosyayı görüntüle @
577a6af8
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
This module provides direct access to all 'built-in' identifiers of Python; for
This module provides direct access to all 'built-in' identifiers of Python; for
example, ``builtins.open`` is the full name for the built-in function
example, ``builtins.open`` is the full name for the built-in function
:func:`open`.
:func:`open`. See :ref:`built-in-funcs` and :ref:`built-in-consts` for
documentation.
This module is not normally accessed explicitly by most applications, but can be
This module is not normally accessed explicitly by most applications, but can be
useful in modules that provide objects with the same name as a built-in value,
useful in modules that provide objects with the same name as a built-in value,
...
...
Doc/library/constants.rst
Dosyayı görüntüle @
577a6af8
.. _built-in-consts:
Built-in Constants
Built-in Constants
==================
==================
...
...
Doc/license.rst
Dosyayı görüntüle @
577a6af8
...
@@ -847,7 +847,7 @@ expat
...
@@ -847,7 +847,7 @@ expat
-----
-----
The :mod:`pyexpat` extension is built using an included copy of the expat
The :mod:`pyexpat` extension is built using an included copy of the expat
sources unless the build is configured
:option:`--with-system-expat
`::
sources unless the build is configured
``--with-system-expat`
`::
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
and Clark Cooper
and Clark Cooper
...
@@ -876,7 +876,7 @@ libffi
...
@@ -876,7 +876,7 @@ libffi
------
------
The :mod:`_ctypes` extension is built using an included copy of the libffi
The :mod:`_ctypes` extension is built using an included copy of the libffi
sources unless the build is configured
:option:`--with-system-libffi
`::
sources unless the build is configured
``--with-system-libffi`
`::
Copyright (c) 1996-2008 Red Hat, Inc and others.
Copyright (c) 1996-2008 Red Hat, Inc and others.
...
...
Doc/using/cmdline.rst
Dosyayı görüntüle @
577a6af8
...
@@ -511,7 +511,7 @@ Debug-mode variables
...
@@ -511,7 +511,7 @@ Debug-mode variables
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
Setting these variables only has an effect in a debug build of Python, that is,
Setting these variables only has an effect in a debug build of Python, that is,
if Python was configured with the
:option:`--with-pydebug
` build option.
if Python was configured with the
``--with-pydebug`
` build option.
.. envvar:: PYTHONTHREADDEBUG
.. envvar:: PYTHONTHREADDEBUG
...
...
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