In Cython, we can add type declarations in arguments.

```
cdef int add(int a, int b):
  return a + b

```

However, [the official document](https://cython.readthedocs.io/en/latest/src/quickstart/cythonize.html) does not explain how to declare class objects. I want to do something like this:

```
cdef MY_CLASS edit_class(MY_CLASS myclassobj):
   myclassobj.edit()
   return myclassobj

```

More specifically, I would like to make a function that takes (pure Python) class as an argument and returns it. I know it works without specifying the type, but I am wondering if I can the same thing as I did for `int a` (specifying the type in argument)

Is there any way to do it? Or as said in [this question](https://stackoverflow.com/questions/28749209/do-cython-extension-types-support-class-attributes), Cython does not support class?