Next / Previous / Contents / TCC Help System / NM Tech homepage

20.10. dict(): Convert to a dictionary

This function creates a new dictionary from its arguments. The general form is:

dict(v, k0=v0, k1=v1, ...)

That is, there may be one optional positional argument or any number of keyword arguments.