mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Fix capitalization.
This commit is contained in:
parent
d325c4b233
commit
b2b2382dc4
@ -1717,7 +1717,7 @@ to work with the :class:`Decimal` class::
|
||||
def cos(x):
|
||||
"""Return the cosine of x as measured in radians.
|
||||
|
||||
The taylor series approximation works best for a small value of x.
|
||||
The Taylor series approximation works best for a small value of x.
|
||||
For larger values, first compute x = x % (2 * pi).
|
||||
|
||||
>>> print(cos(Decimal('0.5')))
|
||||
@ -1743,7 +1743,7 @@ to work with the :class:`Decimal` class::
|
||||
def sin(x):
|
||||
"""Return the sine of x as measured in radians.
|
||||
|
||||
The taylor series approximation works best for a small value of x.
|
||||
The Taylor series approximation works best for a small value of x.
|
||||
For larger values, first compute x = x % (2 * pi).
|
||||
|
||||
>>> print(sin(Decimal('0.5')))
|
||||
|
Loading…
Reference in New Issue
Block a user