Skip to content

Commit bb5b9d1

Browse files
committed
git grep -I -E '3\.7' cleanup.
Removes two changes made under #3702
1 parent af537e7 commit bb5b9d1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/pybind11/gil.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ class gil_scoped_release {
147147
// NOLINTNEXTLINE(cppcoreguidelines-prefer-member-initializer)
148148
tstate = PyEval_SaveThread();
149149
if (disassoc) {
150-
// Python >= 3.7 can remove this, it's an int before 3.7
151-
// NOLINTNEXTLINE(readability-qualified-auto)
152150
auto key = internals.tstate;
153151
PYBIND11_TLS_DELETE_VALUE(key);
154152
}
@@ -173,8 +171,6 @@ class gil_scoped_release {
173171
PyEval_RestoreThread(tstate);
174172
}
175173
if (disassoc) {
176-
// Python >= 3.7 can remove this, it's an int before 3.7
177-
// NOLINTNEXTLINE(readability-qualified-auto)
178174
auto key = detail::get_internals().tstate;
179175
PYBIND11_TLS_REPLACE_VALUE(key, tstate);
180176
}

0 commit comments

Comments
 (0)