from cython.cimports import cqueue

@cython.cclass
class Queue:
    _c_queue = cython.declare(cython.pointer(cqueue.Queue))

    def __cinit__(self):
        self._c_queue = cqueue.queue_new()

docs/examples/tutorial/clibraries/queue.py
from cython.cimports import cqueue

@cython.cclass
class Queue:
    _c_queue: cython.pointer(cqueue.Queue)

    def __cinit__(self):
        self._c_queue = cqueue.queue_new()

docs/examples/tutorial/clibraries/queue.py
diff --git a/docs/examples/tutorial/clibraries/queue.py b/docs/examples/tutorial/clibraries/queue.py
index 45529fa9480..e99b9b32c32 100644
--- a/docs/examples/tutorial/clibraries/queue.py
+++ b/docs/examples/tutorial/clibraries/queue.py
@@ -2,7 +2,7 @@
 
 @cython.cclass
 class Queue:
-    _c_queue = cython.declare(cython.pointer(cqueue.Queue))
+    _c_queue: cython.pointer(cqueue.Queue)
 
     def __cinit__(self):
         self._c_queue = cqueue.queue_new()
diff --git a/docs/src/tutorial/clibraries.rst b/docs/src/tutorial/clibraries.rst
index ddc02f443b4..5b8c545b87c 100644
--- a/docs/src/tutorial/clibraries.rst
+++ b/docs/src/tutorial/clibraries.rst
@@ -125,9 +125,6 @@ Here is a first start for the Queue class:
         .. literalinclude:: ../../examples/tutorial/clibraries/queue.py
             :caption: queue.py
 
-        .. note:: Currently, Cython contains a bug not allowing using
-            annotations with types containing pointers (GitHub issue :issue:`4293`).
-
     .. group-tab:: Cython
 
         .. literalinclude:: ../../examples/tutorial/clibraries/queue.pyx

[BUG] Annotated attributes of cclass are not supporting pointers
<!--
**PLEASE READ THIS FIRST:**
- Do not use the bug and feature tracker for support requests. Use the `cython-users` mailing list instead.
- Did you search for similar issues already? Please do, it helps to save us precious time that we otherwise could not invest into development.
- Did you try the latest master branch or pre-release? It might already have what you want to report. Also see the [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst) regarding recent changes.
-->

**Describe the bug**
The compilation is failing, when attribute of cclass is declared using annotated type containing pointer.

**To Reproduce**
Following code:
```python
import cython

@cython.cclass
class Foo:
    a: cython.pointer(cython.int)

    def bar(self):
        self.a = cython.NULL
```
fails during compilation with error:
```
$ cython -3 test.py

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cclass
class Foo:
    a: cython.pointer(cython.int)

    def bar(self):
        self.a = cython.NULL
                      ^
------------------------------------------------------------

test.py:8:23: Cannot convert 'void *' to Python object
```

**Expected behavior**
Compilation should be successfull.

**Environment (please complete the following information):**
 - OS: Linux
 - Python version: Python 3.9.2
 - Cython version: master

**Additional context**
When `declare()` statement or `cython.p_int` type is used, compilation is successful:

```python
import cython

@cython.cclass
class Foo:
    a = cython.declare(cython.pointer(cython.int))

    def bar(self):
        self.a = cython.NULL
```

```python
import cython

@cython.cclass
class Foo:
    a: cython.p_int

    def bar(self):
        self.a = cython.NULL
```

