diff --git a/README.md b/README.md index 68da7fe..52d4829 100644 --- a/README.md +++ b/README.md @@ -1541,7 +1541,7 @@ class MyClass(metaclass=MyMetaClass): ('abcde', 12345) ``` -#### Type diagram ('abc' is a str, str is a type, ...): +#### Type diagram (str is an instance of type, ...): ```text +---------+-------------+ | classes | metaclasses | @@ -1554,7 +1554,7 @@ class MyClass(metaclass=MyMetaClass): +---------+-------------+ ``` -#### Inheritance diagram (str inherits from object, ...): +#### Inheritance diagram (str is a subclass of object, ...): ```text +---------+-------------+ | classes | metaclasses | diff --git a/index.html b/index.html index ed3489a..e384294 100644 --- a/index.html +++ b/index.html @@ -1264,7 +1264,7 @@ param_names = list(<sig>.parameters.keys())
>>> MyClass.a, MyClass.b
 ('abcde', 12345)
 
-

Type diagram ('abc' is a str, str is a type, …):

+

Type diagram (str is an instance of type, …):

┏━━━━━━━━━┯━━━━━━━━━━━━━┓
 ┃ classes │ metaclasses ┃
 ┠─────────┼─────────────┨
@@ -1275,7 +1275,7 @@ param_names  = list(<sig>.parameters.keys())
 ┃   str ───────╯        ┃
 ┗━━━━━━━━━┷━━━━━━━━━━━━━┛
 
-

Inheritance diagram (str inherits from object, …):

+

Inheritance diagram (str is a subclass of object, …):

┏━━━━━━━━━┯━━━━━━━━━━━━━┓
 ┃ classes │ metaclasses ┃
 ┠─────────┼─────────────┨