From 5be0e85f40735ea0b0805886b9d9ff34b9d62268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 16 Mar 2019 21:47:28 +0100 Subject: [PATCH] New --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0689f2d..8430714 100644 --- a/README.md +++ b/README.md @@ -1461,7 +1461,7 @@ class MyMetaClass(type): return type.__new__(cls, name, parents, attrs) ``` * **New() is a class method that gets called before init(). If it returns an instance of its class, then that instance gets passed to init() as a 'self' argument.** -* **It receives the same arguments as init(), except for the first one that specifies the desired class of returned instance.** +* **It receives the same arguments as init(), except for the first one that specifies the desired class of returned instance (In this case 'MyMetaClass').** * **New() can also be called directly, usually from a new() method of a child class (`'def __new__(cls): return super().__new__(cls)'`), in which case init() is not called.** ### Metaclass Attribute