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
062bc1de
Kaydet (Commit)
062bc1de
authored
Tem 01, 2014
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge with 3.4
üst
7f341ca1
44f09ebd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
CallTipWindow.py
Lib/idlelib/CallTipWindow.py
+7
-5
ClassBrowser.py
Lib/idlelib/ClassBrowser.py
+1
-1
Debugger.py
Lib/idlelib/Debugger.py
+0
-1
configDialog.py
Lib/idlelib/configDialog.py
+1
-2
configHandler.py
Lib/idlelib/configHandler.py
+1
-1
No files found.
Lib/idlelib/CallTipWindow.py
Dosyayı görüntüle @
062bc1de
...
...
@@ -2,9 +2,8 @@
After ToolTip.py, which uses ideas gleaned from PySol
Used by the CallTips IDLE extension.
"""
from
tkinter
import
*
from
tkinter
import
Toplevel
,
Label
,
LEFT
,
SOLID
,
TclError
HIDE_VIRTUAL_EVENT_NAME
=
"<<calltipwindow-hide>>"
HIDE_SEQUENCES
=
(
"<Key-Escape>"
,
"<FocusOut>"
)
...
...
@@ -133,13 +132,16 @@ class CallTip:
return
bool
(
self
.
tipwindow
)
def
_calltip_window
(
parent
):
def
_calltip_window
(
parent
):
# htest #
import
re
from
tkinter
import
Tk
,
Text
,
LEFT
,
BOTH
root
=
Tk
()
root
.
title
(
"Test calltips"
)
width
,
height
,
x
,
y
=
list
(
map
(
int
,
re
.
split
(
'[x+]'
,
parent
.
geometry
())))
root
.
geometry
(
"+
%
d+
%
d"
%
(
x
,
y
+
150
))
class
MyEditWin
:
# co
mpare
nceptually an editor_window
class
MyEditWin
:
# conceptually an editor_window
def
__init__
(
self
):
text
=
self
.
text
=
Text
(
root
)
text
.
pack
(
side
=
LEFT
,
fill
=
BOTH
,
expand
=
1
)
...
...
@@ -161,7 +163,7 @@ def _calltip_window(parent):
def
calltip_hide
(
self
,
event
):
self
.
calltip
.
hidetip
()
editwin
=
MyEditWin
()
MyEditWin
()
if
__name__
==
'__main__'
:
from
idlelib.idle_test.htest
import
run
...
...
Lib/idlelib/ClassBrowser.py
Dosyayı görüntüle @
062bc1de
...
...
@@ -101,7 +101,7 @@ class ModuleBrowserTreeItem(TreeItem):
return
[]
try
:
dict
=
pyclbr
.
readmodule_ex
(
name
,
[
dir
]
+
sys
.
path
)
except
ImportError
as
msg
:
except
ImportError
:
return
[]
items
=
[]
self
.
classes
=
{}
...
...
Lib/idlelib/Debugger.py
Dosyayı görüntüle @
062bc1de
import
os
import
bdb
import
types
from
tkinter
import
*
from
idlelib.WindowList
import
ListedToplevel
from
idlelib.ScrolledList
import
ScrolledList
...
...
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
062bc1de
...
...
@@ -13,7 +13,6 @@ from tkinter import *
import
tkinter.messagebox
as
tkMessageBox
import
tkinter.colorchooser
as
tkColorChooser
import
tkinter.font
as
tkFont
import
copy
from
idlelib.configHandler
import
idleConf
from
idlelib.dynOptionMenuWidget
import
DynOptionMenu
...
...
@@ -679,7 +678,7 @@ class ConfigDialog(Toplevel):
if
self
.
listBindings
.
curselection
():
reselect
=
1
listIndex
=
self
.
listBindings
.
index
(
ANCHOR
)
keySet
=
idleConf
.
GetKeySet
(
keySetName
)
# keySet=idleConf.GetKeySet(keySetName) # unused, delete?
bindNames
=
list
(
keySet
.
keys
())
bindNames
.
sort
()
self
.
listBindings
.
delete
(
0
,
END
)
...
...
Lib/idlelib/configHandler.py
Dosyayı görüntüle @
062bc1de
...
...
@@ -20,7 +20,7 @@ configuration problem notification and resolution.
import
os
import
sys
from
configparser
import
ConfigParser
,
NoOptionError
,
NoSectionError
from
configparser
import
ConfigParser
class
InvalidConfigType
(
Exception
):
pass
class
InvalidConfigSet
(
Exception
):
pass
...
...
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