瀏覽代碼

Update differences.md

BLUELOVETH 1 月之前
父節點
當前提交
08cc247be9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.