From 7acfc68603ad8454e85b4f648edb54f7ae370319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 24 Jul 2019 17:01:51 +0200 Subject: [PATCH] Type --- README.md | 1 + index.html | 1 + web/script_2.js | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 996d1ec..2b9d359 100644 --- a/README.md +++ b/README.md @@ -289,6 +289,7 @@ True | fractions.Fraction | | yes | yes | yes | yes | | float | | | yes | yes | yes | | complex | | | | yes | yes | +| decimal.Decimal | | | | | yes | +--------------------+----------+----------+------+---------+--------+ ``` diff --git a/index.html b/index.html index d4b3be0..6d8be81 100644 --- a/index.html +++ b/index.html @@ -411,6 +411,7 @@ to_exclusive = <range>.stop | fractions.Fraction | | yes | yes | yes | yes | | float | | | yes | yes | yes | | complex | | | | yes | yes | +| decimal.Decimal | | | | | yes | +--------------------+----------+----------+------+---------+--------+

#String

<str>  = <str>.strip()                       # Strips all whitespace characters from both ends.
diff --git a/web/script_2.js b/web/script_2.js
index 94d18ad..cfc9939 100644
--- a/web/script_2.js
+++ b/web/script_2.js
@@ -59,6 +59,7 @@ const DIAGRAM_4_B =
   '┃ fractions.Fraction │          │    ✓     │  ✓   │    ✓    │   ✓    ┃\n' +
   '┃ float              │          │          │  ✓   │    ✓    │   ✓    ┃\n' +
   '┃ complex            │          │          │      │    ✓    │   ✓    ┃\n' +
+  '┃ decimal.Decimal    │          │          │      │         │   ✓    ┃\n' +
   '┗━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┷━━━━━━━━━┷━━━━━━━━┛\n';
 
 const DIAGRAM_5_A =