Skip to content

Commit 15860bd

Browse files
committed
drop redundant comments
1 parent 5d9911a commit 15860bd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Modules/_decimal/_decimal.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,8 +2877,6 @@ PyDecType_FromSequenceExact(PyTypeObject *type, PyObject *v,
28772877
#define PyDec_FromSequenceExact(st, sequence, context) \
28782878
PyDecType_FromSequenceExact((st)->PyDec_Type, sequence, context)
28792879

2880-
/* class method */
2881-
28822880
/*[clinic input]
28832881
@classmethod
28842882
_decimal.Decimal.from_float
@@ -2947,8 +2945,6 @@ PyDecType_FromNumberExact(PyTypeObject *type, PyObject *v, PyObject *context)
29472945
}
29482946
}
29492947

2950-
/* class method */
2951-
29522948
/*[clinic input]
29532949
@classmethod
29542950
_decimal.Decimal.from_number
@@ -3803,8 +3799,6 @@ dec_as_long(PyObject *dec, PyObject *context, int round)
38033799
return PyLongWriter_Finish(writer);
38043800
}
38053801

3806-
/* Convert a Decimal to its exact integer ratio representation. */
3807-
38083802
/*[clinic input]
38093803
_decimal.Decimal.as_integer_ratio
38103804
@@ -4120,8 +4114,6 @@ PyDec_Round(PyObject *dec, PyObject *args)
41204114
}
41214115
}
41224116

4123-
/* Return the DecimalTuple representation of a PyDecObject. */
4124-
41254117
/*[clinic input]
41264118
_decimal.Decimal.as_tuple
41274119

0 commit comments

Comments
 (0)