Skip to content

Commit 86853fb

Browse files
committed
Fixed the default value of CachedProperty.wrap_descriptor's kwargs (forgotten into c23dc90).
1 parent ca0d1ae commit 86853fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/modules/core/core_cache_wrap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ void export_cached_property(scope _cache)
431431
" If the getter, setter or deleter are not callable.",
432432
(
433433
"descriptor", arg("owner")=object(), arg("name")=str(),
434-
arg("unbound")=false, arg("args")=boost::python::tuple(), arg("kwargs")=dict()
434+
arg("unbound")=false, arg("args")=boost::python::tuple(), arg("kwargs")=object()
435435
)
436436
)
437437
.staticmethod("wrap_descriptor");

0 commit comments

Comments
 (0)