Commit f71b8af2 authored by bweigel's avatar bweigel

adds test for case presented in #2634

parent 336d8ca7
...@@ -428,6 +428,7 @@ cdef class Foo: ...@@ -428,6 +428,7 @@ cdef class Foo:
def m28(self, a: list(range(3))[::1]): pass def m28(self, a: list(range(3))[::1]): pass
def m29(self, a: list(range(3))[0:1:1]): pass def m29(self, a: list(range(3))[0:1:1]): pass
def m30(self, a: list(range(3))[7, 3:2:1, ...]): pass def m30(self, a: list(range(3))[7, 3:2:1, ...]): pass
def m31(self, double[::1] a): pass
__doc__ += ur""" __doc__ += ur"""
>>> print(Foo.m00.__doc__) >>> print(Foo.m00.__doc__)
...@@ -522,4 +523,7 @@ Foo.m29(self, a: list(range(3))[0:1:1]) ...@@ -522,4 +523,7 @@ Foo.m29(self, a: list(range(3))[0:1:1])
>>> print(Foo.m30.__doc__) >>> print(Foo.m30.__doc__)
Foo.m30(self, a: list(range(3))[7, 3:2:1, ...]) Foo.m30(self, a: list(range(3))[7, 3:2:1, ...])
>>> print(Foo.m31.__doc__)
Foo.m31(self, double[::1] a)
""" """
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment