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
fcc8a0f0
Kaydet (Commit)
fcc8a0f0
authored
Eyl 10, 2016
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct spelling in documentation and code comments
üst
ad6a99c0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
2.2.rst
Doc/whatsnew/2.2.rst
+2
-2
turtle.py
Lib/lib-tk/turtle.py
+1
-1
test_os.py
Lib/test/test_os.py
+1
-1
textedit.html
Mac/Demo/textedit.html
+1
-1
_Resmodule.c
Mac/Modules/res/_Resmodule.c
+1
-1
ressupport.py
Mac/Modules/res/ressupport.py
+1
-1
No files found.
Doc/whatsnew/2.2.rst
Dosyayı görüntüle @
fcc8a0f0
...
@@ -1159,7 +1159,7 @@ Some of the more notable changes are:
...
@@ -1159,7 +1159,7 @@ Some of the more notable changes are:
The main change is the possibility to build Python as a
The main change is the possibility to build Python as a
framework. This installs a self-contained Python installation plus the
framework. This installs a self-contained Python installation plus the
OSX framework "glue" into /Library/Frameworks/Python.framework (or
OSX framework "glue" into /Library/Frameworks/Python.framework (or
another location of choice). For now there is little immed
e
ate added
another location of choice). For now there is little immed
i
ate added
benefit to this (actually, there is the disadvantage that you have to
benefit to this (actually, there is the disadvantage that you have to
change your PATH to be able to find Python), but it is the basis for
change your PATH to be able to find Python), but it is the basis for
creating a fullblown Python application, porting the MacPython IDE,
creating a fullblown Python application, porting the MacPython IDE,
...
@@ -1168,7 +1168,7 @@ Some of the more notable changes are:
...
@@ -1168,7 +1168,7 @@ Some of the more notable changes are:
The other change is that most MacPython toolbox modules, which
The other change is that most MacPython toolbox modules, which
interface to all the MacOS APIs such as windowing, quicktime,
interface to all the MacOS APIs such as windowing, quicktime,
scripting, etc. have been ported. Again, most of these are not of
scripting, etc. have been ported. Again, most of these are not of
immed
e
ate use, as they need a full application to be really useful, so
immed
i
ate use, as they need a full application to be really useful, so
they have been commented out in setup.py. People wanting to experiment
they have been commented out in setup.py. People wanting to experiment
can uncomment them. Gestalt and Internet Config modules are enabled by
can uncomment them. Gestalt and Internet Config modules are enabled by
default.
default.
...
...
Lib/lib-tk/turtle.py
Dosyayı görüntüle @
fcc8a0f0
...
@@ -981,7 +981,7 @@ class TurtleScreen(TurtleScreenBase):
...
@@ -981,7 +981,7 @@ class TurtleScreen(TurtleScreenBase):
"""Set turtle-mode ('standard', 'logo' or 'world') and perform reset.
"""Set turtle-mode ('standard', 'logo' or 'world') and perform reset.
Optional argument:
Optional argument:
mode -- on of the strings 'standard', 'logo' or 'world'
mode -- on
e
of the strings 'standard', 'logo' or 'world'
Mode 'standard' is compatible with turtle.py.
Mode 'standard' is compatible with turtle.py.
Mode 'logo' is compatible with most Logo-Turtle-Graphics.
Mode 'logo' is compatible with most Logo-Turtle-Graphics.
...
...
Lib/test/test_os.py
Dosyayı görüntüle @
fcc8a0f0
...
@@ -634,7 +634,7 @@ class TestInvalidFD(unittest.TestCase):
...
@@ -634,7 +634,7 @@ class TestInvalidFD(unittest.TestCase):
singles
=
[
"fchdir"
,
"fdopen"
,
"dup"
,
"fdatasync"
,
"fstat"
,
singles
=
[
"fchdir"
,
"fdopen"
,
"dup"
,
"fdatasync"
,
"fstat"
,
"fstatvfs"
,
"fsync"
,
"tcgetpgrp"
,
"ttyname"
]
"fstatvfs"
,
"fsync"
,
"tcgetpgrp"
,
"ttyname"
]
#singles.append("close")
#singles.append("close")
#We omit close because it doesn'
r
raise an exception on some platforms
#We omit close because it doesn'
t
raise an exception on some platforms
def
get_single
(
f
):
def
get_single
(
f
):
def
helper
(
self
):
def
helper
(
self
):
if
hasattr
(
os
,
f
):
if
hasattr
(
os
,
f
):
...
...
Mac/Demo/textedit.html
Dosyayı görüntüle @
fcc8a0f0
...
@@ -24,7 +24,7 @@ the main event handling code. Normal use is to override the <code>__init__</code
...
@@ -24,7 +24,7 @@ the main event handling code. Normal use is to override the <code>__init__</code
to do your own initializations and override
<code>
makeusermenus
</code>
to create your menus
to do your own initializations and override
<code>
makeusermenus
</code>
to create your menus
(your menu callback routines may be here too, but this is by no means necessary).
(your menu callback routines may be here too, but this is by no means necessary).
The event handling code can be overridden at various levels, from very low-level (the
The event handling code can be overridden at various levels, from very low-level (the
<code>
dispatch
</code>
method) to intermed
e
ate level (
<code>
do_keyDown
</code>
, for instance)
<code>
dispatch
</code>
method) to intermed
i
ate level (
<code>
do_keyDown
</code>
, for instance)
to high-level (
<code>
do_key
</code>
). The application class knows about the
<code>
Window
</code>
to high-level (
<code>
do_key
</code>
). The application class knows about the
<code>
Window
</code>
objects you create, and will forward events to the appropriate window (So, normally you
objects you create, and will forward events to the appropriate window (So, normally you
would have a
<code>
do_key
</code>
method in your window object, not your application object).
would have a
<code>
do_key
</code>
method in your window object, not your application object).
...
...
Mac/Modules/res/_Resmodule.c
Dosyayı görüntüle @
fcc8a0f0
...
@@ -551,7 +551,7 @@ static int ResObj_set_data(ResourceObject *self, PyObject *v, void *closure)
...
@@ -551,7 +551,7 @@ static int ResObj_set_data(ResourceObject *self, PyObject *v, void *closure)
HLock
(
self
->
ob_itself
);
HLock
(
self
->
ob_itself
);
memcpy
((
char
*
)
*
self
->
ob_itself
,
data
,
size
);
memcpy
((
char
*
)
*
self
->
ob_itself
,
data
,
size
);
HUnlock
(
self
->
ob_itself
);
HUnlock
(
self
->
ob_itself
);
/* XXXX Should I do the Changed call immed
e
ately? */
/* XXXX Should I do the Changed call immed
i
ately? */
return
0
;
return
0
;
return
0
;
return
0
;
...
...
Mac/Modules/res/ressupport.py
Dosyayı görüntüle @
fcc8a0f0
...
@@ -125,7 +125,7 @@ class ResDefinition(PEP253Mixin, GlobalObjectDefinition):
...
@@ -125,7 +125,7 @@ class ResDefinition(PEP253Mixin, GlobalObjectDefinition):
HLock(self->ob_itself);
HLock(self->ob_itself);
memcpy((char *)*self->ob_itself, data, size);
memcpy((char *)*self->ob_itself, data, size);
HUnlock(self->ob_itself);
HUnlock(self->ob_itself);
/* XXXX Should I do the Changed call immed
e
ately? */
/* XXXX Should I do the Changed call immed
i
ately? */
return 0;
return 0;
"""
,
"""
,
'The resource data'
'The resource data'
...
...
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