From 7e52b91859726c322a6ef16cd64d519f9ffa57d5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 6 May 2020 21:59:57 +0300 Subject: [PATCH] minor fix in docs... Signed-off-by: Alex A. Naanou --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 1385c1f..7e0954c 100755 --- a/README.md +++ b/README.md @@ -352,13 +352,6 @@ This has priority over the callable protocols above, thus the user must take care of both the _function constructor_ and `prototype.__call__(..)` handling. -**Notes:** -- `.__new__(..)` is an instance method, contrary to _Python_ (the - inspiration for this protocol). This is done intentionally as in - JavaScript there is no distinction between an instance and a class and - defining `.__new__(..)` in the class would both add complexity as well - as restrict the use-cases for the constructor. - ### Extending the constructor