Skip to content

Commit 922ac53

Browse files
committed
Ensuring nogil always comes after except
1 parent 5bbd181 commit 922ac53

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/extern/multimap.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cdef extern from "<map>" namespace "std":
1515
iterator operator--() nogil
1616
bint operator==(iterator) nogil
1717
bint operator!=(iterator) nogil
18-
multimap() nogil except +
18+
multimap() except + nogil
1919
# noinspection PyUnresolvedReferences
2020
U& operator[](T&) nogil
2121
# noinspection PyUnresolvedReferences

src/extern/wstring.pxd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ cdef extern from "<string>" namespace "std":
1212
size_t npos = -1
1313

1414
cdef cppclass wstring:
15-
wstring() nogil except +
16-
wstring(wchar_t *) nogil except +
17-
wstring(wchar_t *, size_t) nogil except +
18-
wstring(string&) nogil except +
15+
wstring() except + nogil
16+
wstring(wchar_t *) except + nogil
17+
wstring(wchar_t *, size_t) except + nogil
18+
wstring(string&) except + nogil
1919
# as a string formed by a repetition of character c, n times.
20-
wstring(size_t, char) nogil except +
20+
wstring(size_t, char) except + nogil
2121

2222
const_wchar_t* c_str() nogil
2323
const_wchar_t* data() nogil

0 commit comments

Comments
 (0)