diff --git a/README.md b/README.md index 92f515b0..4a8e350b 100644 --- a/README.md +++ b/README.md @@ -850,7 +850,7 @@ class C(A): 2\. ```py -class SomeClass: +class SomeClass(int): some_var = 15 some_list = [5] another_list = [5] diff --git a/wtfpython-pypi/content.md b/wtfpython-pypi/content.md index 486a98e7..0fd0d8c1 100644 --- a/wtfpython-pypi/content.md +++ b/wtfpython-pypi/content.md @@ -850,7 +850,7 @@ class C(A): 2\. ```py -class SomeClass: +class SomeClass(int): some_var = 15 some_list = [5] another_list = [5]