ubuiltins: Document dict.

This just adds a direct reference to the Python docs.
This commit is contained in:
Laurens Valk
2022-07-04 14:33:17 +02:00
parent 3dc28579ef
commit a0b3ba1d74
+8 -1
View File
@@ -301,7 +301,14 @@ class dict:
def __init__(self, *args, **kwargs) -> None:
"""
Creates a new dictionary.
dict(**kwargs)
dict(mapping, **kwargs)
dict(iterable, **kwargs)
See the standard
`Python documentation
<https://docs.python.org/3/library/stdtypes.html#mapping-types-dict>`_
for a comprehensive reference with examples.
"""