From 38f43caac74d9efbda07288f77a2aef91319e7d1 Mon Sep 17 00:00:00 2001
From: gabrieldemarmiesse <gabriel.demarmiesse@teraki.com>
Date: Fri, 15 Jun 2018 15:09:00 +0200
Subject: [PATCH] Removed the code snippet entirely as it's not clear what it
 does.

---
 docs/examples/tutorial/pure/class_constructor.py | 8 --------
 docs/src/tutorial/pure.rst                       | 6 +-----
 2 files changed, 1 insertion(+), 13 deletions(-)
 delete mode 100644 docs/examples/tutorial/pure/class_constructor.py

diff --git a/docs/examples/tutorial/pure/class_constructor.py b/docs/examples/tutorial/pure/class_constructor.py
deleted file mode 100644
index d19c54c5a..000000000
--- a/docs/examples/tutorial/pure/class_constructor.py
+++ /dev/null
@@ -1,8 +0,0 @@
-import cython
-
-class A:
-    cython.declare(a=cython.int, b=cython.int)
-
-    def __init__(self, b=0):
-        self.a = 3
-        self.b = b
diff --git a/docs/src/tutorial/pure.rst b/docs/src/tutorial/pure.rst
index c02ba0efa..855ab3152 100644
--- a/docs/src/tutorial/pure.rst
+++ b/docs/src/tutorial/pure.rst
@@ -168,11 +168,7 @@ Static typing
 
     cython.declare(x=cython.int, y=cython.double)  # cdef int x; cdef double y
 
-  It can also be used to type class constructors:
-
-  .. literalinclude:: ../../examples/tutorial/pure/class_constructor.py
-
-  And even to define extension type private, readonly and public attributes::
+  It can also be used to define extension type private, readonly and public attributes::
 
     @cython.cclass
     class A:
-- 
2.30.9