mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-21 16:09:22 +00:00
Make a comment slightly less ambiguous.
This commit is contained in:
parent
28de959fa4
commit
c7a7146875
@ -454,8 +454,8 @@ public:
|
||||
return m_lazy_what.c_str();
|
||||
}
|
||||
|
||||
/// Give the currently-held error back to Python, if any. If there is currently a Python error
|
||||
/// already set it is cleared first. After this call, the current object no longer stores the
|
||||
/// Restores the currently-held Python error, if any (which will clear the Python error
|
||||
/// indicator first if already set). After this call, the current object no longer stores the
|
||||
/// error variables (but the `.what()` string is still available).
|
||||
void restore() {
|
||||
what(); // Force-build m_lazy_what.
|
||||
|
Loading…
Reference in New Issue
Block a user