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
f10006cd
Commit
f10006cd
authored
Oct 24, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #25464: Fixed HList.header_exists() in Tix module by adding
a workaround to Tix library bug.
parent
59addd60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Lib/lib-tk/Tix.py
Lib/lib-tk/Tix.py
+5
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/lib-tk/Tix.py
View file @
f10006cd
...
...
@@ -928,7 +928,11 @@ class HList(TixWidget, XView, YView):
return
self
.
tk
.
call
(
self
.
_w
,
'header'
,
'cget'
,
col
,
opt
)
def
header_exists
(
self
,
col
):
return
self
.
tk
.
call
(
self
.
_w
,
'header'
,
'exists'
,
col
)
# A workaround to Tix library bug (issue #25464).
# The documented command is "exists", but only erroneous "exist" is
# accepted.
return
self
.
tk
.
getboolean
(
self
.
tk
.
call
(
self
.
_w
,
'header'
,
'exist'
,
col
))
header_exist
=
header_exists
def
header_delete
(
self
,
col
):
self
.
tk
.
call
(
self
.
_w
,
'header'
,
'delete'
,
col
)
...
...
Misc/NEWS
View file @
f10006cd
...
...
@@ -60,6 +60,9 @@ Core and Builtins
Library
-------
-
Issue
#
25464
:
Fixed
HList
.
header_exists
()
in
Tix
module
by
adding
a
workaround
to
Tix
library
bug
.
-
Issue
#
28488
:
shutil
.
make_archive
()
no
longer
adds
entry
"./"
to
ZIP
archive
.
-
Issue
#
28480
:
Fix
error
building
_sqlite3
module
when
multithreading
is
...
...
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