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
2733618f
Kaydet (Commit)
2733618f
authored
May 14, 2015
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
idlelib: remove unused names and imports (one is a duplicate import).
üst
82796193
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
5 additions
and
12 deletions
+5
-12
GrepDialog.py
Lib/idlelib/GrepDialog.py
+0
-1
IOBinding.py
Lib/idlelib/IOBinding.py
+2
-3
PyParse.py
Lib/idlelib/PyParse.py
+0
-1
RemoteDebugger.py
Lib/idlelib/RemoteDebugger.py
+0
-1
ScriptBinding.py
Lib/idlelib/ScriptBinding.py
+1
-3
SearchDialog.py
Lib/idlelib/SearchDialog.py
+1
-1
TreeWidget.py
Lib/idlelib/TreeWidget.py
+1
-1
configDialog.py
Lib/idlelib/configDialog.py
+0
-1
No files found.
Lib/idlelib/GrepDialog.py
Dosyayı görüntüle @
2733618f
...
...
@@ -5,7 +5,6 @@ import sys
from
tkinter
import
StringVar
,
BooleanVar
,
Checkbutton
# for GrepDialog
from
tkinter
import
Tk
,
Text
,
Button
,
SEL
,
END
# for htest
from
idlelib
import
SearchEngine
import
itertools
from
idlelib.SearchDialogBase
import
SearchDialogBase
# Importing OutputWindow fails due to import loop
# EditorWindow -> GrepDialop -> OutputWindow -> EditorWindow
...
...
Lib/idlelib/IOBinding.py
Dosyayı görüntüle @
2733618f
import
os
import
types
import
shlex
import
sys
import
codecs
...
...
@@ -525,7 +524,7 @@ class IOBinding:
if
self
.
editwin
.
flist
:
self
.
editwin
.
update_recent_files_list
(
filename
)
def
_io_binding
(
parent
):
def
_io_binding
(
parent
):
# htest #
root
=
Tk
()
root
.
title
(
"Test IOBinding"
)
width
,
height
,
x
,
y
=
list
(
map
(
int
,
re
.
split
(
'[x+]'
,
parent
.
geometry
())))
...
...
@@ -548,7 +547,7 @@ def _io_binding(parent):
text
.
pack
()
text
.
focus_set
()
editwin
=
MyEditWin
(
text
)
io
=
IOBinding
(
editwin
)
IOBinding
(
editwin
)
if
__name__
==
"__main__"
:
from
idlelib.idle_test.htest
import
run
...
...
Lib/idlelib/PyParse.py
Dosyayı görüntüle @
2733618f
import
re
import
sys
from
collections
import
Mapping
from
functools
import
partial
# Reason last stmt is continued (or C_NONE if it's not).
(
C_NONE
,
C_BACKSLASH
,
C_STRING_FIRST_LINE
,
...
...
Lib/idlelib/RemoteDebugger.py
Dosyayı görüntüle @
2733618f
...
...
@@ -21,7 +21,6 @@ barrier, in particular frame and traceback objects.
"""
import
types
from
idlelib
import
rpc
from
idlelib
import
Debugger
debugging
=
0
...
...
Lib/idlelib/ScriptBinding.py
Dosyayı görüntüle @
2733618f
...
...
@@ -18,13 +18,11 @@ XXX GvR Redesign this interface (yet again) as follows:
"""
import
os
import
re
import
string
import
tabnanny
import
tokenize
import
tkinter.messagebox
as
tkMessageBox
from
idlelib.EditorWindow
import
EditorWindow
from
idlelib
import
PyShell
,
IOBinding
from
idlelib
import
PyShell
from
idlelib.configHandler
import
idleConf
from
idlelib
import
macosxSupport
...
...
Lib/idlelib/SearchDialog.py
Dosyayı görüntüle @
2733618f
...
...
@@ -23,7 +23,7 @@ def find_selection(text):
class
SearchDialog
(
SearchDialogBase
):
def
create_widgets
(
self
):
f
=
SearchDialogBase
.
create_widgets
(
self
)
SearchDialogBase
.
create_widgets
(
self
)
self
.
make_button
(
"Find Next"
,
self
.
default_command
,
1
)
def
default_command
(
self
,
event
=
None
):
...
...
Lib/idlelib/TreeWidget.py
Dosyayı görüntüle @
2733618f
...
...
@@ -245,7 +245,7 @@ class TreeNode:
else
:
self
.
edit_finish
()
try
:
label
=
self
.
label
self
.
label
except
AttributeError
:
# padding carefully selected (on Windows) to match Entry widget:
self
.
label
=
Label
(
self
.
canvas
,
text
=
text
,
bd
=
0
,
padx
=
2
,
pady
=
2
)
...
...
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
2733618f
...
...
@@ -16,7 +16,6 @@ import tkinter.font as tkFont
from
idlelib.configHandler
import
idleConf
from
idlelib.dynOptionMenuWidget
import
DynOptionMenu
from
idlelib.tabbedpages
import
TabbedPageSet
from
idlelib.keybindingDialog
import
GetKeysDialog
from
idlelib.configSectionNameDialog
import
GetCfgSectionNameDialog
from
idlelib.configHelpSourceEdit
import
GetHelpSourceDialog
...
...
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