1
0
mirror of https://github.com/exaloop/codon.git synced 2025-06-02 22:39:37 +08:00
codon/stdlib/python.codon
A. R. Shajii 753151157d
Py interop fix ()
* Fix incref/decref

* Fixes

* Fix set __to_py__

* Add more Python conversion tests

* clang-format

* Make from_py/to_py use cobj instead of pyobj

* Remove unneeded increfs

* Fix cython

* Ignore __init_test__ in doc generation

* Add exception check

Co-authored-by: Ishak Numanagić <ishak.numanagic@gmail.com>
Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
2022-04-07 00:33:49 -04:00

4 lines
69 B
Python

from internal.python import ensure_initialized
ensure_initialized()