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
5e526bba
Kaydet (Commit)
5e526bba
authored
Nis 20, 2014
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #11571: merge with 3.4
üst
6d172357
09ae544e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
turtle.py
Lib/turtle.py
+7
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/turtle.py
Dosyayı görüntüle @
5e526bba
...
...
@@ -109,6 +109,7 @@ import types
import
math
import
time
import
inspect
import
sys
from
os.path
import
isfile
,
split
,
join
from
copy
import
deepcopy
...
...
@@ -992,6 +993,12 @@ class TurtleScreen(TurtleScreenBase):
self
.
_colormode
=
_CFG
[
"colormode"
]
self
.
_keys
=
[]
self
.
clear
()
if
sys
.
platform
==
'darwin'
:
# Force Turtle window to the front on OS X. This is needed because
# the Turtle window will show behind the Terminal window when you
# start the demo from the command line.
cv
.
_rootwindow
.
call
(
'wm'
,
'attributes'
,
'.'
,
'-topmost'
,
'1'
)
cv
.
_rootwindow
.
call
(
'wm'
,
'attributes'
,
'.'
,
'-topmost'
,
'0'
)
def
clear
(
self
):
"""Delete all drawings and all turtles from the TurtleScreen.
...
...
Misc/NEWS
Dosyayı görüntüle @
5e526bba
...
...
@@ -247,6 +247,9 @@ Library
- Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations. Patch by John Szakmeister.
- Issue #11571: Ensure that the turtle window becomes the topmost window
when launched on OS X.
Extension Modules
-----------------
...
...
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