Fixed a docstring

pull/45/head
sezanzeb 4 years ago committed by GitHub
parent a67dbb998c
commit 97b09032e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,7 +107,7 @@ class Mapping(ConfigBase):
If not set, will not remove any previous mapping. If you recently
used (1, 10, 1) for new_key and want to overwrite that with
(1, 11, 1), provide (1, 5, 1) here.
(1, 11, 1), provide (1, 10, 1) here.
"""
if not isinstance(new_key, Key):
raise TypeError(f'Expected {new_key} to be a Key object')

Loading…
Cancel
Save