Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9126a6a commit eaa1eaeCopy full SHA for eaa1eae
1 file changed
Lib/idlelib/run.py
@@ -140,11 +140,12 @@ def main(del_exitfunc=False):
140
141
capture_warnings(True)
142
sys.argv[:] = [""]
143
- sockthread = threading.Thread(target=manage_socket,
144
- name='SockThread',
145
- args=((LOCALHOST, port),))
146
- sockthread.daemon = True
147
- sockthread.start()
+ threading.Thread(target=manage_socket,
+ name='SockThread',
+ args=((LOCALHOST, port),),
+ daemon=True,
+ ).start()
148
+
149
while True:
150
try:
151
if exit_now:
0 commit comments