summaryrefslogtreecommitdiff
path: root/shared-bindings/math/__init__.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/math/__init__.c')
-rw-r--r--shared-bindings/math/__init__.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/math/__init__.c b/shared-bindings/math/__init__.c
index 968da0d61..3883c03c1 100644
--- a/shared-bindings/math/__init__.c
+++ b/shared-bindings/math/__init__.c
@@ -79,10 +79,10 @@ STATIC NORETURN void math_error(void) {
#define log2(x) (log(x) * 1.442695040888963407354163704)
#endif
-//| e: float = ...
+//| e: float
//| """base of the natural logarithm"""
//|
-//| pi: float = ...
+//| pi: float
//| """the ratio of a circle's circumference to its diameter"""
//|
@@ -126,7 +126,7 @@ STATIC NORETURN void math_error(void) {
//| """Return the absolute value of ``x``."""
//| ...
//|
-//| def floor(x: float) -> float:
+//| def floor(x: float) -> int:
//| """Return an integer, being ``x`` rounded towards negative infinity."""
//| ...
//|