Skip to content

Commit d463c60

Browse files
committed
fix module name in multireplace docstring
1 parent 1f07518 commit d463c60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

boltons/strutils.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1140,8 +1140,8 @@ class MultiReplace:
11401140
11411141
Dictionary Usage::
11421142
1143-
from boltons import stringutils
1144-
s = stringutils.MultiReplace({
1143+
from boltons import strutils
1144+
s = strutils.MultiReplace({
11451145
'foo': 'zoo',
11461146
'cat': 'hat',
11471147
'bat': 'kraken'
@@ -1151,8 +1151,8 @@ class MultiReplace:
11511151
11521152
Iterable Usage::
11531153
1154-
from boltons import stringutils
1155-
s = stringutils.MultiReplace([
1154+
from boltons import strutils
1155+
s = strutils.MultiReplace([
11561156
('foo', 'zoo'),
11571157
('cat', 'hat'),
11581158
('bat', 'kraken)'
@@ -1233,7 +1233,7 @@ def multi_replace(text, sub_map, **kwargs):
12331233
12341234
Example Usage::
12351235
1236-
from boltons.stringutils import multi_replace
1236+
from boltons.strutils import multi_replace
12371237
new = multi_replace(
12381238
'The foo bar cat ate a bat',
12391239
{'foo': 'zoo', 'cat': 'hat', 'bat': 'kraken'}

0 commit comments

Comments
 (0)