2
0
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:
Dave Abrahams
2003-07-30 11:34:50 +00:00
parent 81d99c855f
commit a3cdacd088
3 changed files with 14 additions and 1 deletions

View File

@@ -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()
);
}