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
a120ffcf
Kaydet (Commit)
a120ffcf
authored
Ock 22, 2001
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin
üst
31584cb4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
5 deletions
+15
-5
_curses_panel.c
Modules/_curses_panel.c
+5
-2
dbmmodule.c
Modules/dbmmodule.c
+2
-1
regexmodule.c
Modules/regexmodule.c
+4
-1
socketmodule.c
Modules/socketmodule.c
+4
-1
No files found.
Modules/_curses_panel.c
Dosyayı görüntüle @
a120ffcf
...
...
@@ -350,7 +350,7 @@ PyCursesPanel_GetAttr(PyCursesPanelObject *self, char *name)
/* -------------------------------------------------------*/
PyTypeObject
PyCursesPanel_Type
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyObject_HEAD_INIT
(
NULL
)
0
,
/*ob_size*/
"curses panel"
,
/*tp_name*/
sizeof
(
PyCursesPanelObject
),
/*tp_basicsize*/
...
...
@@ -469,11 +469,14 @@ static PyMethodDef PyCurses_methods[] = {
/* Initialization function for the module */
void
DL_EXPORT
(
void
)
init_curses_panel
(
void
)
{
PyObject
*
m
,
*
d
,
*
v
;
/* Initialize object type */
PyCursesPanel_Type
.
ob_type
=
&
PyType_Type
;
import_curses
();
/* Create the module and add the functions */
...
...
Modules/dbmmodule.c
Dosyayı görüntüle @
a120ffcf
...
...
@@ -285,7 +285,7 @@ dbm_getattr(dbmobject *dp, char *name)
}
static
PyTypeObject
Dbmtype
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyObject_HEAD_INIT
(
NULL
)
0
,
"dbm"
,
sizeof
(
dbmobject
),
...
...
@@ -342,6 +342,7 @@ DL_EXPORT(void)
initdbm
(
void
)
{
PyObject
*
m
,
*
d
,
*
s
;
Dbmtype
.
ob_type
=
&
PyType_Type
;
m
=
Py_InitModule
(
"dbm"
,
dbmmodule_methods
);
d
=
PyModule_GetDict
(
m
);
if
(
DbmError
==
NULL
)
...
...
Modules/regexmodule.c
Dosyayı görüntüle @
a120ffcf
...
...
@@ -338,7 +338,7 @@ regobj_getattr(regexobject *re, char *name)
}
static
PyTypeObject
Regextype
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyObject_HEAD_INIT
(
NULL
)
0
,
/*ob_size*/
"regex"
,
/*tp_name*/
sizeof
(
regexobject
),
/*tp_size*/
...
...
@@ -654,6 +654,9 @@ initregex(void)
int
i
;
char
*
s
;
/* Initialize object type */
Regextype
.
ob_type
=
&
PyType_Type
;
m
=
Py_InitModule
(
"regex"
,
regex_global_methods
);
d
=
PyModule_GetDict
(
m
);
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
a120ffcf
...
...
@@ -2114,7 +2114,7 @@ static PyObject *SSL_getattr(SSLObject *self, char *name)
}
staticforward
PyTypeObject
SSL_Type
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyObject_HEAD_INIT
(
NULL
)
0
,
/*ob_size*/
"SSL"
,
/*tp_name*/
sizeof
(
SSLObject
),
/*tp_basicsize*/
...
...
@@ -2381,6 +2381,9 @@ init_socket(void)
return
;
#endif
/* __TOS_OS2__ */
#endif
/* MS_WINDOWS */
#ifdef USE_SSL
SSL_Type
.
ob_type
=
&
PyType_Type
;
#endif
m
=
Py_InitModule3
(
"_socket"
,
PySocket_methods
,
module_doc
);
d
=
PyModule_GetDict
(
m
);
PySocket_Error
=
PyErr_NewException
(
"socket.error"
,
NULL
,
NULL
);
...
...
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