Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d2217a83
Commit
d2217a83
authored
Oct 30, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #15721: apply PEP 384 Refactoring to tkinter module.
parent
b9e2d3f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
Modules/_tkinter.c
Modules/_tkinter.c
+1
-6
No files found.
Modules/_tkinter.c
View file @
d2217a83
...
...
@@ -794,7 +794,7 @@ static PyType_Slot PyTclObject_Type_slots[] = {
{
Py_tp_dealloc
,
(
destructor
)
PyTclObject_dealloc
},
{
Py_tp_repr
,
(
reprfunc
)
PyTclObject_repr
},
{
Py_tp_str
,
(
reprfunc
)
PyTclObject_str
},
{
Py_tp_getattro
,
NULL
},
{
Py_tp_getattro
,
PyObject_GenericGetAttr
},
{
Py_tp_richcompare
,
PyTclObject_richcompare
},
{
Py_tp_getset
,
PyTclObject_getsetlist
},
{
0
,
0
}
...
...
@@ -2831,11 +2831,6 @@ PyInit__tkinter(void)
{
PyObject
*
m
,
*
uexe
,
*
cexe
,
*
o
;
/* Due to cross platform compiler issues the slots must be filled
* here. It's required for portability to Windows without requiring
* C++. See xxxlimited.c*/
PyTclObject_Type_slots
[
3
].
pfunc
=
PyObject_GenericGetAttr
;
#ifdef WITH_THREAD
tcl_lock
=
PyThread_allocate_lock
();
if
(
tcl_lock
==
NULL
)
...
...
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