Skip to content

Commit

Permalink
Make source code comment more precise.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Dec 8, 2023
1 parent 8e681ff commit 6546148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pybind11/attr.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ struct argument_record {
handle value; ///< Associated Python object
// The explicit value_is_nullptr variable is for safety, to unambiguously
// distinguish these two cases in all situations:
// * value is nullptr on purpose.
// * value is nullptr because of an error condition.
// * value is nullptr on purpose (value_is_nullptr true).
// * value is nullptr because of an error condition (value_is_nullptr false).
bool value_is_nullptr;
from_python_policies policies;

Expand Down

0 comments on commit 6546148

Please sign in to comment.