Skip to content

Commit

Permalink
fix module name in multireplace docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Jul 9, 2024
1 parent 1f07518 commit d463c60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions boltons/strutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,8 +1140,8 @@ class MultiReplace:
Dictionary Usage::
from boltons import stringutils
s = stringutils.MultiReplace({
from boltons import strutils
s = strutils.MultiReplace({
'foo': 'zoo',
'cat': 'hat',
'bat': 'kraken'
Expand All @@ -1151,8 +1151,8 @@ class MultiReplace:
Iterable Usage::
from boltons import stringutils
s = stringutils.MultiReplace([
from boltons import strutils
s = strutils.MultiReplace([
('foo', 'zoo'),
('cat', 'hat'),
('bat', 'kraken)'
Expand Down Expand Up @@ -1233,7 +1233,7 @@ def multi_replace(text, sub_map, **kwargs):
Example Usage::
from boltons.stringutils import multi_replace
from boltons.strutils import multi_replace
new = multi_replace(
'The foo bar cat ate a bat',
{'foo': 'zoo', 'cat': 'hat', 'bat': 'kraken'}
Expand Down

0 comments on commit d463c60

Please sign in to comment.