Source
Edit
Deprecated: use newPyDict, to be removed since 0.10
func newPyDict[K, V](x: openArray[(K, V)] = []): PyDict[K, V]
-
zero or one arg shall support [], {k:v, ...}, @[(k, v),...]
Source
Edit
template newPyDictImpl[K, V](x: int): untyped {.
...deprecated: "use newPyDict, to be removed since 0.10".}
-
Deprecated: use newPyDict, to be removed since 0.10
Source
Edit
template newPyDictImpl[K, V](x: openArray[(K, V)] = []): untyped {.
...deprecated: "use newPyDict, to be removed since 0.10".}
-
Deprecated: use newPyDict, to be removed since 0.10
Source
Edit