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
f74c33ad
Kaydet (Commit)
f74c33ad
authored
Agu 26, 2016
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge
üst
8f2ee0d5
7ea386e5
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
datamodel.rst
Doc/reference/datamodel.rst
+2
-2
2.0.rst
Doc/whatsnew/2.0.rst
+2
-2
cookiejar.py
Lib/http/cookiejar.py
+1
-1
cfgparser.2
Lib/test/cfgparser.2
+1
-1
test_gdb.py
Lib/test/test_gdb.py
+1
-1
test_discovery.py
Lib/unittest/test/test_discovery.py
+1
-1
exceptions.c
Objects/exceptions.c
+1
-1
bltinmodule.c
Python/bltinmodule.c
+2
-2
No files found.
Doc/reference/datamodel.rst
Dosyayı görüntüle @
f74c33ad
...
...
@@ -1123,7 +1123,7 @@ Basic customization
instance; for example: ``BaseClass.__init__(self, [args...])``.
Because :meth:`__new__` and :meth:`__init__` work together in constructing
objects (:meth:`__new__` to create it, and :meth:`__init__` to customi
s
e it),
objects (:meth:`__new__` to create it, and :meth:`__init__` to customi
z
e it),
no non-``None`` value may be returned by :meth:`__init__`; doing so will
cause a :exc:`TypeError` to be raised at runtime.
...
...
@@ -1697,7 +1697,7 @@ By default, classes are constructed using :func:`type`. The class body is
executed in a new namespace and the class name is bound locally to the
result of ``type(name, bases, namespace)``.
The class creation process can be customi
s
ed by passing the ``metaclass``
The class creation process can be customi
z
ed by passing the ``metaclass``
keyword argument in the class definition line, or by inheriting from an
existing class that included such an argument. In the following example,
both ``MyClass`` and ``MySubclass`` are instances of ``Meta``::
...
...
Doc/whatsnew/2.0.rst
Dosyayı görüntüle @
f74c33ad
...
...
@@ -166,7 +166,7 @@ encoding. Encodings are named by strings, such as ``'ascii'``, ``'utf-8'``,
registering new encodings that are then available throughout a Python program.
If an encoding isn't specified, the default encoding is usually 7-bit ASCII,
though it can be changed for your Python installation by calling the
``sys.setdefaultencoding(encoding)`` function in a customi
s
ed version of
``sys.setdefaultencoding(encoding)`` function in a customi
z
ed version of
:file:`site.py`.
Combining 8-bit and Unicode strings always coerces to Unicode, using the default
...
...
@@ -1139,7 +1139,7 @@ module.
Unix, not to be confused with :program:`gzip`\ -format files (which are
supported by the :mod:`gzip` module) (Contributed by James C. Ahlstrom.)
* :mod:`imputil`: A module that provides a simpler way for writing customi
s
ed
* :mod:`imputil`: A module that provides a simpler way for writing customi
z
ed
import hooks, in comparison to the existing :mod:`ihooks` module. (Implemented
by Greg Stein, with much discussion on python-dev along the way.)
...
...
Lib/http/cookiejar.py
Dosyayı görüntüle @
f74c33ad
...
...
@@ -833,7 +833,7 @@ class CookiePolicy:
May also modify cookies, though this is probably a bad idea.
The subclass DefaultCookiePolicy defines the standard rules for Netscape
and RFC 2965 cookies -- override that if you want a customi
s
ed policy.
and RFC 2965 cookies -- override that if you want a customi
z
ed policy.
"""
def
set_ok
(
self
,
cookie
,
request
):
...
...
Lib/test/cfgparser.2
Dosyayı görüntüle @
f74c33ad
...
...
@@ -129,7 +129,7 @@
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
# Using the following line enables you to customi
s
e your configuration
# Using the following line enables you to customi
z
e your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /etc/samba/smb.conf.%m
...
...
Lib/test/test_gdb.py
Dosyayı görüntüle @
f74c33ad
...
...
@@ -90,7 +90,7 @@ if not gdbpy_version:
raise
unittest
.
SkipTest
(
"gdb not built with embedded python support"
)
# Verify that "gdb" can load our custom hooks, as OS security settings may
# disallow this without a customi
s
ed .gdbinit.
# disallow this without a customi
z
ed .gdbinit.
_
,
gdbpy_errors
=
run_gdb
(
'--args'
,
sys
.
executable
)
if
"auto-loading has been declined"
in
gdbpy_errors
:
msg
=
"gdb security settings prevent use of custom hooks: "
...
...
Lib/unittest/test/test_discovery.py
Dosyayı görüntüle @
f74c33ad
...
...
@@ -275,7 +275,7 @@ class TestDiscovery(unittest.TestCase):
self
.
assertEqual
(
Module
.
load_tests_args
,
[(
loader
,
[],
'test*.py'
)])
def
test_find_tests_customi
s
e_via_package_pattern
(
self
):
def
test_find_tests_customi
z
e_via_package_pattern
(
self
):
# This test uses the example 'do-nothing' load_tests from
# https://docs.python.org/3/library/unittest.html#load-tests-protocol
# to make sure that that actually works.
...
...
Objects/exceptions.c
Dosyayı görüntüle @
f74c33ad
...
...
@@ -1256,7 +1256,7 @@ SimpleExtendsException(PyExc_Exception, AttributeError,
* SyntaxError extends Exception
*/
/* Helper function to customi
s
e error message for some syntax errors */
/* Helper function to customi
z
e error message for some syntax errors */
static
int
_report_missing_parentheses
(
PySyntaxErrorObject
*
self
);
static
int
...
...
Python/bltinmodule.c
Dosyayı görüntüle @
f74c33ad
...
...
@@ -2072,7 +2072,7 @@ sorted as builtin_sorted
Return a new list containing all items from the iterable in ascending order.
A custom key function can be supplied to customi
s
e the sort order, and the
A custom key function can be supplied to customi
z
e the sort order, and the
reverse flag can be set to request the result in descending order.
[end disabled clinic input]*/
...
...
@@ -2082,7 +2082,7 @@ PyDoc_STRVAR(builtin_sorted__doc__,
"
\n
"
"Return a new list containing all items from the iterable in ascending order.
\n
"
"
\n
"
"A custom key function can be supplied to customi
s
e the sort order, and the
\n
"
"A custom key function can be supplied to customi
z
e the sort order, and the
\n
"
"reverse flag can be set to request the result in descending order."
);
#define BUILTIN_SORTED_METHODDEF \
...
...
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