mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
c1abf1b492
commit
d350eb184b
@ -24,14 +24,13 @@ The easiest way to test a feature is to [try it on your browser](https://pocketp
|
|||||||
2. `__getattr__` and `__setattr__`.
|
2. `__getattr__` and `__setattr__`.
|
||||||
3. Descriptor protocol `__get__` and `__set__`. However, `@property` is implemented.
|
3. Descriptor protocol `__get__` and `__set__`. However, `@property` is implemented.
|
||||||
4. `__slots__` in class definition.
|
4. `__slots__` in class definition.
|
||||||
5. `import` module from a directory with `__init__.py`.
|
5. One element tuple. `(1,)` is not supported.
|
||||||
6. One element tuple. `(1,)` is not supported.
|
6. Unpacking in `list` and `dict` literals, e.g. `[1, 2, *a]`.
|
||||||
7. Unpacking in `list` and `dict` literals, e.g. `[1, 2, *a]`.
|
7. Access the exception object in try..except.
|
||||||
8. Access the exception object in try..except.
|
8. `else` clause in try..except.
|
||||||
9. `else` clause in try..except.
|
9. Inplace methods like `__iadd__` and `__imul__`.
|
||||||
10. Inplace methods like `__iadd__` and `__imul__`.
|
10. `__del__` in class definition.
|
||||||
11. `__del__` in class definition.
|
11. `a = b = 1`, use `a, b = 1, 1` instead.
|
||||||
12. `a = b = 1`, use `a, b = 1, 1` instead.
|
|
||||||
|
|
||||||
## Different behaviors
|
## Different behaviors
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user