We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de4534c commit 63b12a2Copy full SHA for 63b12a2
1 file changed
jepler_udecimal/utrig.py
@@ -190,12 +190,5 @@ def acos(x, context=None):
190
return r
191
192
193
-# pylint: disable=using-constant-test
194
-# This stops a doc-building error in autoapi
195
-if 1:
196
- Decimal.tan = tan
197
- Decimal.sin = sin
198
- Decimal.cos = cos
199
- Decimal.atan = atan
200
- Decimal.asin = asin
201
- Decimal.acos = acos
+for name in __all__:
+ setattr(Decimal, name, globals()[name])
0 commit comments