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
a320fd30
Kaydet (Commit)
a320fd30
authored
Mar 09, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changes for MPW
üst
b6fe7048
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
9 deletions
+13
-9
arraymodule.c
Modules/arraymodule.c
+1
-1
audioop.c
Modules/audioop.c
+1
-1
md5module.c
Modules/md5module.c
+1
-1
rotormodule.c
Modules/rotormodule.c
+2
-2
stdwinmodule.c
Modules/stdwinmodule.c
+4
-4
timemodule.c
Modules/timemodule.c
+4
-0
No files found.
Modules/arraymodule.c
Dosyayı görüntüle @
a320fd30
...
@@ -1072,7 +1072,7 @@ static sequence_methods array_as_sequence = {
...
@@ -1072,7 +1072,7 @@ static sequence_methods array_as_sequence = {
(
intintobjargproc
)
array_ass_slice
,
/*sq_ass_slice*/
(
intintobjargproc
)
array_ass_slice
,
/*sq_ass_slice*/
};
};
static
typeobject
Arraytype
=
{
static
here
typeobject
Arraytype
=
{
OB_HEAD_INIT
(
&
Typetype
)
OB_HEAD_INIT
(
&
Typetype
)
0
,
0
,
"array"
,
"array"
,
...
...
Modules/audioop.c
Dosyayı görüntüle @
a320fd30
...
@@ -35,7 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -35,7 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#endif
#endif
#endif
#include
<math.h>
#include
"mymath.h"
/* Code shamelessly stolen from sox,
/* Code shamelessly stolen from sox,
** (c) Craig Reese, Joe Campbell and Jeff Poskanzer 1989 */
** (c) Craig Reese, Joe Campbell and Jeff Poskanzer 1989 */
...
...
Modules/md5module.c
Dosyayı görüntüle @
a320fd30
...
@@ -141,7 +141,7 @@ md5_getattr(self, name)
...
@@ -141,7 +141,7 @@ md5_getattr(self, name)
return
findmethod
(
md5_methods
,
(
object
*
)
self
,
name
);
return
findmethod
(
md5_methods
,
(
object
*
)
self
,
name
);
}
}
static
typeobject
MD5type
=
{
static
here
typeobject
MD5type
=
{
OB_HEAD_INIT
(
&
Typetype
)
OB_HEAD_INIT
(
&
Typetype
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"md5"
,
/*tp_name*/
"md5"
,
/*tp_name*/
...
...
Modules/rotormodule.c
Dosyayı görüntüle @
a320fd30
...
@@ -57,7 +57,7 @@ NOTE: you MUST use the SAME key in rotor.newrotor()
...
@@ -57,7 +57,7 @@ NOTE: you MUST use the SAME key in rotor.newrotor()
#include "Python.h"
#include "Python.h"
#include
<math.h>
#include
"mymath.h"
#define TRUE 1
#define TRUE 1
#define FALSE 0
#define FALSE 0
...
@@ -755,7 +755,7 @@ PyRotor_GetAttr(s, name)
...
@@ -755,7 +755,7 @@ PyRotor_GetAttr(s, name)
return
Py_FindMethod
(
PyRotor_Methods
,
(
PyObject
*
)
s
,
name
);
return
Py_FindMethod
(
PyRotor_Methods
,
(
PyObject
*
)
s
,
name
);
}
}
static
PyTypeObject
PyRotor_Type
=
{
static
here
PyTypeObject
PyRotor_Type
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyObject_HEAD_INIT
(
&
PyType_Type
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"rotor"
,
/*tp_name*/
"rotor"
,
/*tp_name*/
...
...
Modules/stdwinmodule.c
Dosyayı görüntüle @
a320fd30
...
@@ -1141,7 +1141,7 @@ text_setattr(tp, name, v)
...
@@ -1141,7 +1141,7 @@ text_setattr(tp, name, v)
return
dictinsert
(
tp
->
t_attr
,
name
,
v
);
return
dictinsert
(
tp
->
t_attr
,
name
,
v
);
}
}
static
typeobject
Texttype
=
{
static
here
typeobject
Texttype
=
{
OB_HEAD_INIT
(
&
Typetype
)
OB_HEAD_INIT
(
&
Typetype
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"textedit"
,
/*tp_name*/
"textedit"
,
/*tp_name*/
...
@@ -1348,7 +1348,7 @@ menu_setattr(mp, name, v)
...
@@ -1348,7 +1348,7 @@ menu_setattr(mp, name, v)
return
dictinsert
(
mp
->
m_attr
,
name
,
v
);
return
dictinsert
(
mp
->
m_attr
,
name
,
v
);
}
}
static
typeobject
Menutype
=
{
static
here
typeobject
Menutype
=
{
OB_HEAD_INIT
(
&
Typetype
)
OB_HEAD_INIT
(
&
Typetype
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"menu"
,
/*tp_name*/
"menu"
,
/*tp_name*/
...
@@ -1505,7 +1505,7 @@ bitmap_setattr(bp, name, v)
...
@@ -1505,7 +1505,7 @@ bitmap_setattr(bp, name, v)
return
dictinsert
(
bp
->
b_attr
,
name
,
v
);
return
dictinsert
(
bp
->
b_attr
,
name
,
v
);
}
}
static
typeobject
Bitmaptype
=
{
static
here
typeobject
Bitmaptype
=
{
OB_HEAD_INIT
(
&
Typetype
)
OB_HEAD_INIT
(
&
Typetype
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"bitmap"
,
/*tp_name*/
"bitmap"
,
/*tp_name*/
...
@@ -1929,7 +1929,7 @@ window_setattr(wp, name, v)
...
@@ -1929,7 +1929,7 @@ window_setattr(wp, name, v)
return
dictinsert
(
wp
->
w_attr
,
name
,
v
);
return
dictinsert
(
wp
->
w_attr
,
name
,
v
);
}
}
static
typeobject
Windowtype
=
{
static
here
typeobject
Windowtype
=
{
OB_HEAD_INIT
(
&
Typetype
)
OB_HEAD_INIT
(
&
Typetype
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"window"
,
/*tp_name*/
"window"
,
/*tp_name*/
...
...
Modules/timemodule.c
Dosyayı görüntüle @
a320fd30
...
@@ -336,8 +336,12 @@ floattime()
...
@@ -336,8 +336,12 @@ floattime()
set an exception; else return 0. */
set an exception; else return 0. */
static
int
static
int
#ifdef MPW
floatsleep
(
double
secs
)
#else
floatsleep
(
secs
)
floatsleep
(
secs
)
double
secs
;
double
secs
;
#endif
/* MPW */
{
{
#ifdef HAVE_SELECT
#ifdef HAVE_SELECT
struct
timeval
t
;
struct
timeval
t
;
...
...
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