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
ee763951
Kaydet (Commit)
ee763951
authored
Ara 10, 2008
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify imports
üst
acc68cc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
webbrowser.py
Lib/webbrowser.py
+1
-2
No files found.
Lib/webbrowser.py
Dosyayı görüntüle @
ee763951
...
...
@@ -2,6 +2,7 @@
"""Interfaces for launching and remotely controlling Web browsers."""
# Maintained by Georg Brandl.
import
io
import
os
import
shlex
import
sys
...
...
@@ -223,7 +224,6 @@ class UnixBrowser(BaseBrowser):
cmdline
=
[
self
.
name
]
+
raise_opt
+
args
if
remote
or
self
.
background
:
import
io
inout
=
io
.
open
(
os
.
devnull
,
"r+"
)
else
:
# for TTY browsers, we need stdin/out
...
...
@@ -348,7 +348,6 @@ class Konqueror(BaseBrowser):
else
:
action
=
"openURL"
import
io
devnull
=
io
.
open
(
os
.
devnull
,
"r+"
)
# if possible, put browser in separate process group, so
# keyboard interrupts don't affect browser as well as Python
...
...
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