mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
git grep -I -E '3\.7'
cleanup.
Removes two changes made under pybind/pybind11#3702
This commit is contained in:
parent
af537e72bb
commit
bb5b9d187b
@ -147,8 +147,6 @@ public:
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-prefer-member-initializer)
|
||||
tstate = PyEval_SaveThread();
|
||||
if (disassoc) {
|
||||
// Python >= 3.7 can remove this, it's an int before 3.7
|
||||
// NOLINTNEXTLINE(readability-qualified-auto)
|
||||
auto key = internals.tstate;
|
||||
PYBIND11_TLS_DELETE_VALUE(key);
|
||||
}
|
||||
@ -173,8 +171,6 @@ public:
|
||||
PyEval_RestoreThread(tstate);
|
||||
}
|
||||
if (disassoc) {
|
||||
// Python >= 3.7 can remove this, it's an int before 3.7
|
||||
// NOLINTNEXTLINE(readability-qualified-auto)
|
||||
auto key = detail::get_internals().tstate;
|
||||
PYBIND11_TLS_REPLACE_VALUE(key, tstate);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user