Skip to content

Commit

Permalink
Fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lqf96 committed Jan 11, 2021
1 parent 24ad818 commit 04401d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/pytypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ class dict : public object {
}
#else
try {
return generic_item::get(*this, key);
return accessor_policies::generic_item::get(*this, key);
} catch (...) {
if (PyErr_Occurred() == PyExc_KeyError) {
PyErr_Clear();
Expand Down

0 comments on commit 04401d5

Please sign in to comment.