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
c02cc270
Commit
c02cc270
authored
Jul 27, 2010
by
Alexander Belopolsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #9384: python -m tkinter will now display a simple demo applet.
parent
5a63183a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
Doc/library/tkinter.rst
Doc/library/tkinter.rst
+3
-1
Lib/tkinter/__main__.py
Lib/tkinter/__main__.py
+7
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/tkinter.rst
View file @
c02cc270
...
...
@@ -9,7 +9,9 @@
The
:
mod
:`
tkinter
`
package
(
"Tk interface"
)
is
the
standard
Python
interface
to
the
Tk
GUI
toolkit
.
Both
Tk
and
:
mod
:`
tkinter
`
are
available
on
most
Unix
platforms
,
as
well
as
on
Windows
systems
.
(
Tk
itself
is
not
part
of
Python
;
it
is
maintained
at
ActiveState
.)
is
maintained
at
ActiveState
.)
You
can
check
that
:
mod
:`
tkinter
`
is
properly
installed
on
your
system
by
running
``
python
-
m
tkinter
``
from
the
command
line
;
this
should
open
a
window
demonstrating
a
simple
Tk
interface
.
..
seealso
::
...
...
Lib/tkinter/__main__.py
0 → 100644
View file @
c02cc270
"""Main entry point"""
import
sys
if
sys
.
argv
[
0
].
endswith
(
"__main__.py"
):
sys
.
argv
[
0
]
=
"python -m tkinter"
from
.
import
_test
as
main
main
()
Misc/NEWS
View file @
c02cc270
...
...
@@ -473,6 +473,8 @@ C-API
Library
-------
- Issue #9384: python -m tkinter will now display a simple demo applet.
- The default size of the re module's compiled regular expression cache has
been increased from 100 to 500 and the cache replacement policy has changed
from simply clearing the entire cache on overflow to randomly forgetting 20%
...
...
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