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
e954ecb9
Kaydet (Commit)
e954ecb9
authored
Eki 06, 2011
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Branch merge
üst
c9539d59
2710bc4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
sys.rst
Doc/library/sys.rst
+18
-18
test_minidom.py
Lib/test/test_minidom.py
+1
-1
No files found.
Doc/library/sys.rst
Dosyayı görüntüle @
e954ecb9
...
...
@@ -95,6 +95,17 @@ always available.
customized by assigning another one-argument function to ``sys.displayhook``.
.. data:: dont_write_bytecode
If this is true, Python won't try to write ``.pyc`` or ``.pyo`` files on the
import of source modules. This value is initially set to ``True`` or
``False`` depending on the :option:`-B` command line option and the
:envvar:`PYTHONDONTWRITEBYTECODE` environment variable, but you can set it
yourself to control bytecode file generation.
.. versionadded:: 2.6
.. function:: excepthook(type, value, traceback)
This function prints out a given traceback and exception to ``sys.stderr``.
...
...
@@ -196,10 +207,10 @@ always available.
Python files are installed; by default, this is also ``'/usr/local'``. This can
be set at build time with the ``--exec-prefix`` argument to the
:program:`configure` script. Specifically, all configuration files (e.g. the
:file:`pyconfig.h` header file) are installed in the directory
``exec_prefix +
'/lib/pythonversion/config'``, and shared library modules are installed in
``exec_prefix + '/lib/pythonversion/lib-dynload'``, where *version* is equal to
``version[:3]
``.
:file:`pyconfig.h` header file) are installed in the directory
:file:`{exec_prefix}/lib/python{X.Y}/config', and shared library modules are
installed in :file:`{exec_prefix}/lib/python{X.Y}/lib-dynload`, where *X.Y*
is the version number of Python, for example ``2.7
``.
.. data:: executable
...
...
@@ -755,10 +766,10 @@ always available.
independent Python files are installed; by default, this is the string
``'/usr/local'``. This can be set at build time with the ``--prefix``
argument to the :program:`configure` script. The main collection of Python
library modules is installed in the directory
``prefix + '/lib/pythonversion'
``
library modules is installed in the directory
:file:`{prefix}/lib/python{X.Y}
``
while the platform independent header files (all except :file:`pyconfig.h`) are
stored in
``prefix + '/include/pythonversion'``, where *version* is equal to
``version[:3]
``.
stored in
:file:`{prefix}/include/python{X.Y}``, where *X.Y* is the version
number of Python, for example ``2.7
``.
.. data:: ps1
...
...
@@ -786,17 +797,6 @@ always available.
.. versionadded:: 2.6
.. data:: dont_write_bytecode
If this is true, Python won't try to write ``.pyc`` or ``.pyo`` files on the
import of source modules. This value is initially set to ``True`` or ``False``
depending on the ``-B`` command line option and the ``PYTHONDONTWRITEBYTECODE``
environment variable, but you can set it yourself to control bytecode file
generation.
.. versionadded:: 2.6
.. function:: setcheckinterval(interval)
Set the interpreter's "check interval". This integer value determines how often
...
...
Lib/test/test_minidom.py
Dosyayı görüntüle @
e954ecb9
...
...
@@ -439,7 +439,7 @@ class MinidomTest(unittest.TestCase):
dom
.
unlink
()
self
.
confirm
(
domstr
==
str
.
replace
(
"
\n
"
,
"
\r\n
"
))
def
test_to
PrettyXML_per
serves_content_of_text_node
(
self
):
def
test_to
prettyxml_pre
serves_content_of_text_node
(
self
):
str
=
'<A>B</A>'
dom
=
parseString
(
str
)
dom2
=
parseString
(
dom
.
toprettyxml
())
...
...
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