diff --git a/README.md b/README.md index 913b842..e4ed78b 100644 --- a/README.md +++ b/README.md @@ -246,8 +246,8 @@ Type * **Type and class are synonymous.** ```python - = type() # Or: .__class__ - = isinstance(, ) # Or: issubclass(type(), ) + = type() # Or: .__class__ + = isinstance(, ) # Or: issubclass(type(), ) ``` ```python diff --git a/index.html b/index.html index 1f8a60a..aa591e6 100644 --- a/index.html +++ b/index.html @@ -378,8 +378,8 @@ to_exclusive = <range>.stop
  • Everything is an object.
  • Every object has a type.
  • Type and class are synonymous.
  • -
    <type> = type(<el>)                          # Or: <el>.__class__
    -<bool> = isinstance(<el>, <type>)            # Or: issubclass(type(<el>), <type>)
    +
    <type> = type(<el>)                            # Or: <el>.__class__
    +<bool> = isinstance(<el>, <type>)              # Or: issubclass(type(<el>), <type>)