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
929b40a6
Kaydet (Commit)
929b40a6
authored
Eki 03, 2017
tarafından
Serhiy Storchaka
Kaydeden (comit)
GitHub
Eki 03, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). (#3864)
üst
543386b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
+14
-13
2017-10-03-14-37-46.bpo-31673.RFCrka.rst
...S.d/next/Library/2017-10-03-14-37-46.bpo-31673.RFCrka.rst
+1
-0
_tkinter.c
Modules/_tkinter.c
+4
-4
_tkinter.c.h
Modules/clinic/_tkinter.c.h
+9
-9
No files found.
Misc/NEWS.d/next/Library/2017-10-03-14-37-46.bpo-31673.RFCrka.rst
0 → 100644
Dosyayı görüntüle @
929b40a6
Fixed typo in the name of Tkinter's method adderrorinfo().
Modules/_tkinter.c
Dosyayı görüntüle @
929b40a6
...
...
@@ -1640,7 +1640,7 @@ _tkinter_tkapp_record_impl(TkappObject *self, const char *script)
}
/*[clinic input]
_tkinter.tkapp.adderrinfo
_tkinter.tkapp.adderr
or
info
msg: str
/
...
...
@@ -1648,8 +1648,8 @@ _tkinter.tkapp.adderrinfo
[clinic start generated code]*/
static
PyObject
*
_tkinter_tkapp_adderrinfo_impl
(
TkappObject
*
self
,
const
char
*
msg
)
/*[clinic end generated code: output=
0e222ee2050eb357 input=4971399317d4c136
]*/
_tkinter_tkapp_adderr
or
info_impl
(
TkappObject
*
self
,
const
char
*
msg
)
/*[clinic end generated code: output=
52162eaca2ee53cb input=f4b37aec7c7e8c77
]*/
{
CHECK_STRING_LENGTH
(
msg
);
CHECK_TCL_APPARTMENT
;
...
...
@@ -3253,7 +3253,7 @@ static PyMethodDef Tkapp_methods[] =
_TKINTER_TKAPP_EVAL_METHODDEF
_TKINTER_TKAPP_EVALFILE_METHODDEF
_TKINTER_TKAPP_RECORD_METHODDEF
_TKINTER_TKAPP_ADDERRINFO_METHODDEF
_TKINTER_TKAPP_ADDERR
OR
INFO_METHODDEF
{
"setvar"
,
Tkapp_SetVar
,
METH_VARARGS
},
{
"globalsetvar"
,
Tkapp_GlobalSetVar
,
METH_VARARGS
},
{
"getvar"
,
Tkapp_GetVar
,
METH_VARARGS
},
...
...
Modules/clinic/_tkinter.c.h
Dosyayı görüntüle @
929b40a6
...
...
@@ -80,27 +80,27 @@ exit:
return
return_value
;
}
PyDoc_STRVAR
(
_tkinter_tkapp_adderrinfo__doc__
,
"adderrinfo($self, msg, /)
\n
"
PyDoc_STRVAR
(
_tkinter_tkapp_adderr
or
info__doc__
,
"adderr
or
info($self, msg, /)
\n
"
"--
\n
"
"
\n
"
);
#define _TKINTER_TKAPP_ADDERRINFO_METHODDEF \
{"adderr
info", (PyCFunction)_tkinter_tkapp_adderrinfo, METH_O, _tkinter_tkapp_adder
rinfo__doc__},
#define _TKINTER_TKAPP_ADDERR
OR
INFO_METHODDEF \
{"adderr
orinfo", (PyCFunction)_tkinter_tkapp_adderrorinfo, METH_O, _tkinter_tkapp_adderro
rinfo__doc__},
static
PyObject
*
_tkinter_tkapp_adderrinfo_impl
(
TkappObject
*
self
,
const
char
*
msg
);
_tkinter_tkapp_adderr
or
info_impl
(
TkappObject
*
self
,
const
char
*
msg
);
static
PyObject
*
_tkinter_tkapp_adderrinfo
(
TkappObject
*
self
,
PyObject
*
arg
)
_tkinter_tkapp_adderr
or
info
(
TkappObject
*
self
,
PyObject
*
arg
)
{
PyObject
*
return_value
=
NULL
;
const
char
*
msg
;
if
(
!
PyArg_Parse
(
arg
,
"s:adderrinfo"
,
&
msg
))
{
if
(
!
PyArg_Parse
(
arg
,
"s:adderr
or
info"
,
&
msg
))
{
goto
exit
;
}
return_value
=
_tkinter_tkapp_adderrinfo_impl
(
self
,
msg
);
return_value
=
_tkinter_tkapp_adderr
or
info_impl
(
self
,
msg
);
exit:
return
return_value
;
...
...
@@ -638,4 +638,4 @@ exit:
#ifndef _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF
#define _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF
#endif
/* !defined(_TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF) */
/*[clinic end generated code: output=
3b9241f7c703ae4f
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
ca36236c57713ba0
input=a9049054013a1b77]*/
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