From e56ef7b5d93c9f3f1da3b1ae065caf6fee806178 Mon Sep 17 00:00:00 2001 From: dE-Falt Date: Mon, 13 Aug 2018 02:41:49 +0530 Subject: [PATCH] Fix no attributed class in Class attributes and instance attributes --- README.md | 2 +- wtfpython-pypi/content.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]