From a8dcecfbe2fe8cbee5b1d7f58e6b2e3e2c3e5e1b Mon Sep 17 00:00:00 2001 From: BLUELOVETH Date: Tue, 30 May 2023 20:44:11 +0800 Subject: [PATCH] ... Update differences.md --- docs/features/differences.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features/differences.md b/docs/features/differences.md index 7d32067c..f0b2a11e 100644 --- a/docs/features/differences.md +++ b/docs/features/differences.md @@ -31,6 +31,7 @@ The easiest way to test a feature is to [try it on your browser](https://pocketp 9. `else` clause in try..except. 10. Inplace methods like `__iadd__` and `__imul__`. 11. `__del__` in class definition. +12. `a = b = 1`, use `a, b = 1, 1` instead. ## Different behaviors @@ -42,4 +43,4 @@ The easiest way to test a feature is to [try it on your browser](https://pocketp 6. `__ne__` is not required. Define `__eq__` is enough. 7. Raw string cannot have boundary quotes in it, even escaped. See [#55](https://github.com/blueloveTH/pocketpy/issues/55). 8. 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. -9. `a < b < c` does not work as you expected in cpython. Use `a < b and b < c` instead. \ No newline at end of file +9. `a < b < c` does not work as you expected. Use `a < b and b < c` instead. \ No newline at end of file