You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For convenience all of the [built-in functions](https://docs.python.org/3/library/functions.html) as well as constants, methods and classes from the `math.py` and `decimal.py` modules are provided in a lambda-friendly way by this package. The naming rule is to capitalize lower-case names, and for already capitalized names to duplicate the first letter:
382
384
383
385
```python
384
-
from mini_lambda import DDecimal # Decimal class
385
-
from mini_lambda import Print # print() function
386
-
from mini_lambda import Pi # math.pi constant
386
+
# builtins are available at pkg root
387
+
from mini_lambda import Print
388
+
389
+
# all other symbols are in ther appropriate 'symbols' submodule
390
+
from mini_lambda.symbols.builtins import Print # print() function
391
+
from mini_lambda.symbols.math_ import Pi # math.pi constant
392
+
from mini_lambda.symbols.decimal_ import DDecimal # Decimal class
0 commit comments