Skip to content

Commit 22edfd3

Browse files
committed
Another microsoft c quirk ...
1 parent e516588 commit 22edfd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lazy_object_proxy/cext.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,11 @@ static PyObject *Proxy_str(ProxyObject *self)
224224

225225
static PyObject *Proxy_fspath(ProxyObject *self)
226226
{
227-
Proxy__ENSURE_WRAPPED_OR_RETURN_NULL(self);
228-
229227
PyObject *method = NULL;
230228
PyObject *fspath = NULL;
231229

230+
Proxy__ENSURE_WRAPPED_OR_RETURN_NULL(self);
231+
232232
if (PyUnicode_Check(self->wrapped) || PyBytes_Check(self->wrapped)) {
233233
Py_INCREF(self->wrapped);
234234
return self->wrapped;

0 commit comments

Comments
 (0)