Skip to content

Commit 973ee45

Browse files
committed
New
1 parent aee3c4d commit 973ee45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ class MyMetaClass(type):
14611461
return type.__new__(cls, name, parents, attrs)
14621462
```
14631463
* **New() is a class method that gets called before init(). It returns an instance of a class that gets passed to init() as a 'self' argument.**
1464-
* **It receives the same arguments as init(), except for the first one which, is its class.**
1464+
* **It receives the same arguments as init(), except for the first one which is its class.**
14651465

14661466
### Metaclass Attribute
14671467
**When class is created it checks if it has metaclass defined. If not, it recursively checks if any of his parents has it defined and eventually comes to type.**

0 commit comments

Comments
 (0)