You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/src/conversions.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,11 +76,8 @@ fn main() {
76
76
}
77
77
```
78
78
79
-
`kwargs` argument is generate over
80
-
[`IntoPyDictPointer`][IntoPyDictPointer] trait. `HashMap` or `BTreeMap` could be used as
81
-
keyword arguments. rust tuple with up to 10 elements where each element is tuple with size 2
82
-
could be used as kwargs as well. Or `NoArgs` object can be used to indicate that
83
-
no keywords arguments are provided.
79
+
`kwargs` can by `None` or `Some(PyDict)`. You can use the
80
+
[`IntoPyDict`][IntoPyDict] trait to convert other dict-like containers, e.g. `HashMap`, `BTreeMap` as well as tuples with up to 10 elements and `Vec`s where each element is a two element tuple.
0 commit comments