Ver Fonte

Update differences.md

BLUELOVETH há 1 mês atrás
pai
commit
08cc247be9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      docs/features/differences.md

+ 1 - 1
docs/features/differences.md

@@ -30,7 +30,7 @@ The easiest way to test a feature is to [try it on your browser](https://pocketp
 ## Different behaviors
 
 1. positional and keyword arguments are strictly evaluated.
-2. `int` does not derive from `bool`.
+2. `bool` does not derive from `int`. They are independent types.
 3. `int` is 64-bit.
 4. Raw string cannot have boundary quotes in it, even escaped. See [#55](https://github.com/pocketpy/pocketpy/issues/55).
 5. In a starred unpacked assignment, e.g. `a, b, *c = x`, the starred variable can only be presented in the last position. `a, *b, c = x` is not supported.