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
91c0274b
Kaydet (Commit)
91c0274b
authored
Nis 02, 2012
tarafından
Stefan Krah
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improve comments.
üst
9d280109
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
_decimal.c
Modules/_decimal/_decimal.c
+5
-5
No files found.
Modules/_decimal/_decimal.c
Dosyayı görüntüle @
91c0274b
...
@@ -1510,7 +1510,7 @@ current_context(void)
...
@@ -1510,7 +1510,7 @@ current_context(void)
#define CURRENT_CONTEXT_ADDR(ctx) \
#define CURRENT_CONTEXT_ADDR(ctx) \
ctx = CTX(current_context())
ctx = CTX(current_context())
/* Return
current context, increment reference
*/
/* Return
a new reference to the current context
*/
static
PyObject
*
static
PyObject
*
PyDec_GetCurrentContext
(
void
)
PyDec_GetCurrentContext
(
void
)
{
{
...
@@ -1614,7 +1614,7 @@ current_context(void)
...
@@ -1614,7 +1614,7 @@ current_context(void)
ctx = CTX(_c_t_x_o_b_j); \
ctx = CTX(_c_t_x_o_b_j); \
}
}
/* Return
current context, increment reference
*/
/* Return
a new reference to the current context
*/
static
PyObject
*
static
PyObject
*
PyDec_GetCurrentContext
(
void
)
PyDec_GetCurrentContext
(
void
)
{
{
...
@@ -1759,7 +1759,7 @@ static PyTypeObject PyDecContextManager_Type =
...
@@ -1759,7 +1759,7 @@ static PyTypeObject PyDecContextManager_Type =
0
,
/* tp_print */
0
,
/* tp_print */
(
getattrfunc
)
0
,
/* tp_getattr */
(
getattrfunc
)
0
,
/* tp_getattr */
(
setattrfunc
)
0
,
/* tp_setattr */
(
setattrfunc
)
0
,
/* tp_setattr */
0
,
/* tp_
compare
*/
0
,
/* tp_
reserved
*/
(
reprfunc
)
0
,
/* tp_repr */
(
reprfunc
)
0
,
/* tp_repr */
0
,
/* tp_as_number */
0
,
/* tp_as_number */
0
,
/* tp_as_sequence */
0
,
/* tp_as_sequence */
...
@@ -2699,7 +2699,7 @@ ctx_create_decimal(PyObject *context, PyObject *args)
...
@@ -2699,7 +2699,7 @@ ctx_create_decimal(PyObject *context, PyObject *args)
/******************************************************************************/
/******************************************************************************/
/* Implicit conversions to Decimal */
/* Implicit conversions to Decimal */
/******************************************************************************/
/******************************************************************************/
/* Try to convert PyObject v to a new PyDecObject conv. If the conversion
/* Try to convert PyObject v to a new PyDecObject conv. If the conversion
...
@@ -2796,7 +2796,7 @@ convert_op(int type_err, PyObject **conv, PyObject *v, PyObject *context)
...
@@ -2796,7 +2796,7 @@ convert_op(int type_err, PyObject **conv, PyObject *v, PyObject *context)
/******************************************************************************/
/******************************************************************************/
/* Implicit conversions to Decimal for comparison */
/* Implicit conversions to Decimal for comparison */
/******************************************************************************/
/******************************************************************************/
/* Convert rationals for comparison */
/* Convert rationals for comparison */
...
...
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