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
ada67ec3
Kaydet (Commit)
ada67ec3
authored
Haz 03, 1992
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Comment out debug prints (by Sjoerd)
üst
b66efa0d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
readcd.py
Lib/irix5/readcd.py
+4
-4
readcd.py
Lib/plat-irix5/readcd.py
+4
-4
No files found.
Lib/irix5/readcd.py
Dosyayı görüntüle @
ada67ec3
...
@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
...
@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
def
_doatime
(
self
,
type
,
data
):
def
_doatime
(
self
,
type
,
data
):
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
if
func
:
...
@@ -15,7 +15,7 @@ def _doatime(self, type, data):
...
@@ -15,7 +15,7 @@ def _doatime(self, type, data):
def
_dopnum
(
self
,
type
,
data
):
def
_dopnum
(
self
,
type
,
data
):
if
data
>
self
.
end
:
if
data
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
if
func
:
...
@@ -48,7 +48,7 @@ class Readcd():
...
@@ -48,7 +48,7 @@ class Readcd():
self
.
status
=
None
self
.
status
=
None
self
.
trackinfo
=
None
self
.
trackinfo
=
None
if
self
.
playing
:
if
self
.
playing
:
print
'stop playing from eject'
##
print 'stop playing from eject'
raise
_Stop
raise
_Stop
def
pmsf2msf
(
self
,
track
,
min
,
sec
,
frame
):
def
pmsf2msf
(
self
,
track
,
min
,
sec
,
frame
):
...
@@ -199,7 +199,7 @@ class Readcd():
...
@@ -199,7 +199,7 @@ class Readcd():
if
self
.
listindex
>=
len
(
self
.
list
):
if
self
.
listindex
>=
len
(
self
.
list
):
return
return
start
,
end
=
self
.
list
[
self
.
listindex
]
start
,
end
=
self
.
list
[
self
.
listindex
]
print
'starting with'
,
`(start, end)`
##
print 'starting with',`(start, end)`
try
:
try
:
min
,
sec
,
frame
=
start
min
,
sec
,
frame
=
start
dummy
=
self
.
player
.
seek
(
min
,
sec
,
frame
)
dummy
=
self
.
player
.
seek
(
min
,
sec
,
frame
)
...
...
Lib/plat-irix5/readcd.py
Dosyayı görüntüle @
ada67ec3
...
@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
...
@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
def
_doatime
(
self
,
type
,
data
):
def
_doatime
(
self
,
type
,
data
):
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
if
func
:
...
@@ -15,7 +15,7 @@ def _doatime(self, type, data):
...
@@ -15,7 +15,7 @@ def _doatime(self, type, data):
def
_dopnum
(
self
,
type
,
data
):
def
_dopnum
(
self
,
type
,
data
):
if
data
>
self
.
end
:
if
data
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
if
func
:
...
@@ -48,7 +48,7 @@ class Readcd():
...
@@ -48,7 +48,7 @@ class Readcd():
self
.
status
=
None
self
.
status
=
None
self
.
trackinfo
=
None
self
.
trackinfo
=
None
if
self
.
playing
:
if
self
.
playing
:
print
'stop playing from eject'
##
print 'stop playing from eject'
raise
_Stop
raise
_Stop
def
pmsf2msf
(
self
,
track
,
min
,
sec
,
frame
):
def
pmsf2msf
(
self
,
track
,
min
,
sec
,
frame
):
...
@@ -199,7 +199,7 @@ class Readcd():
...
@@ -199,7 +199,7 @@ class Readcd():
if
self
.
listindex
>=
len
(
self
.
list
):
if
self
.
listindex
>=
len
(
self
.
list
):
return
return
start
,
end
=
self
.
list
[
self
.
listindex
]
start
,
end
=
self
.
list
[
self
.
listindex
]
print
'starting with'
,
`(start, end)`
##
print 'starting with',`(start, end)`
try
:
try
:
min
,
sec
,
frame
=
start
min
,
sec
,
frame
=
start
dummy
=
self
.
player
.
seek
(
min
,
sec
,
frame
)
dummy
=
self
.
player
.
seek
(
min
,
sec
,
frame
)
...
...
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