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
1fb0e3f3
Commit
1fb0e3f3
authored
Jul 30, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
parent
3b796680
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
Lib/tkinter/simpledialog.py
Lib/tkinter/simpledialog.py
+1
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/tkinter/simpledialog.py
View file @
1fb0e3f3
...
...
@@ -282,7 +282,7 @@ class _QueryDialog(Dialog):
self
.
entry
=
Entry
(
master
,
name
=
"entry"
)
self
.
entry
.
grid
(
row
=
1
,
padx
=
5
,
sticky
=
W
+
E
)
if
self
.
initialvalue
:
if
self
.
initialvalue
is
not
None
:
self
.
entry
.
insert
(
0
,
self
.
initialvalue
)
self
.
entry
.
select_range
(
0
,
END
)
...
...
Misc/ACKS
View file @
1fb0e3f3
...
...
@@ -633,6 +633,7 @@ Carl Meyer
Mike Meyer
Steven Miale
Trent Mick
Tom Middleton
Stan Mihai
Stefan Mihaila
Aristotelis Mikropoulos
...
...
Misc/NEWS
View file @
1fb0e3f3
...
...
@@ -98,6 +98,9 @@ Core and Builtins
Library
-------
- Issue #12288: Consider '0' and '0.0' as valid initialvalue
for tkinter SimpleDialog.
- Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
...
...
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