Skip to main content
# pip install multdict
# >>> from multdict import multdict

>>> idict = {'a': ['x'], 'b': 0}

>>> assert multdict(idict, 0) == {}

>>> assert multdict(idict, 1) is idict

>>> odict = multdict(idict, 2)
>>> assert idict == {'a': ['x'], 'b': 0}
>>> assert odict == {'a0': ['x'], 'b0': 0, 'a1': ['x'], 'b1': 0}
>>> assert odict['a0'] is odict['a1']

Metadata

Release files for multdict 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multdict 0.0.5
File Size Uploaded
multdict-0.0.5.tar.gz 933 Bytes Details

Release files / multdict-0.0.5.tar.gz

Download URL multdict-0.0.5.tar.gz
Size 933 Bytes
Tags Source
SHA-256 checksum
How to use checksums
04544baef4f4467f1ca3d1fe3e30f2501c1eb972cb636a693596a44ad52c8f35
BLAKE2b-256 checksum
How to use checksums
b8e97e50e1bc2aa341f0403093f4ec6e24bcc800890d7317bbd49e66231e0ac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page