mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
Bug fix -- we weren't handling NULL keywords dictionaries in raw_function
[SVN r19359]
This commit is contained in:
@@ -29,7 +29,10 @@ namespace detail
|
||||
{
|
||||
return incref(
|
||||
object(
|
||||
f(tuple(borrowed_reference(args)), dict(borrowed_reference(keywords)))
|
||||
f(
|
||||
tuple(borrowed_reference(args))
|
||||
, keywords ? dict(borrowed_reference(keywords)) : dict()
|
||||
)
|
||||
).ptr()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user