Skip to content

Commit 9182c0a

Browse files
committed
eapi: add todo note for merging Eapi._from_obj() and Eapi.from_obj()
Once cython supports static cpdef methods.
1 parent 56e86ae commit 9182c0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pkgcraft/eapi.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ cdef class Eapi(Indirect):
8686
inst.ptr = ptr
8787
return inst
8888

89+
# TODO: merge with Eapi.from_obj() when static cpdef methods are supported
8990
@staticmethod
9091
cdef Eapi _from_obj(object obj):
9192
"""Try to convert an object to an Eapi object."""

0 commit comments

Comments
 (0)