mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
...
This commit is contained in:
parent
e5146447c5
commit
657e9b4313
@ -34,3 +34,9 @@ std::cout << CAST(Str, i); // abc
|
|||||||
| `tuple` | `pkpy::Tuple` | |
|
| `tuple` | `pkpy::Tuple` | |
|
||||||
| `function` | `pkpy::Function` | |
|
| `function` | `pkpy::Function` | |
|
||||||
| ... | ... | ... |
|
| ... | ... | ... |
|
||||||
|
|
||||||
|
### Type check
|
||||||
|
|
||||||
|
+ `is_type(PyObject* obj, Type type)`
|
||||||
|
+ `is_non_tagged_type(PyObject* obj, Type type)`
|
||||||
|
+ `VM::check_type(PyObject* obj, Type type)`
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
icon: code
|
icon: code
|
||||||
label: 'Attribute access'
|
label: 'Access attributes'
|
||||||
order: 80
|
order: 80
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
icon: code
|
icon: code
|
||||||
label: 'Call a Python function'
|
label: 'Call Python function'
|
||||||
order: 70
|
order: 70
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
icon: code
|
icon: code
|
||||||
label: 'Wrap a native struct'
|
label: 'Wrap native struct'
|
||||||
order: 50
|
order: 50
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user