Skip to content

Commit a8ba9e1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 17ec1f9 commit a8ba9e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/detail/class.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ inline PyTypeObject *make_static_property_type() {
8989
if (PyType_Ready(type) < 0) {
9090
pybind11_fail("make_static_property_type(): failure in PyType_Ready()!");
9191
}
92-
# if PY_VERSION >= 0x03110000
92+
# if PY_VERSION >= 0x03110000
9393
// Since Python-3.11 property-derived types are required to
9494
// have dynamic attributes (to set `__doc__`)
9595
enable_dynamic_attributes(heap_type);
96-
# endif
96+
# endif
9797
setattr((PyObject *) type, "__module__", str("pybind11_builtins"));
9898
PYBIND11_SET_OLDPY_QUALNAME(type, name_obj);
9999

0 commit comments

Comments
 (0)