Skip to content

Commit 6201fe8

Browse files
committed
Fix regexp - non capturing group
1 parent 2794d9a commit 6201fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

didyoumean/didyoumean_re.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
r"(?:object but received|objects doesn't apply to) (?:a )?" \
126126
r"'({0})'(?:| object)$".format(TYPE_NAME)
127127
ARG_NOT_ITERABLE_RE = r"^(?:argument of type )?'({0})'" \
128-
r"(?: object)? is not (a container or )?iterable$".format(TYPE_NAME)
128+
r"(?: object)? is not (?:a container or )?iterable$".format(TYPE_NAME)
129129
MUST_BE_CALLED_WITH_INST_RE = r"^unbound method (\w+)\(\) must be called " \
130130
r"with ({0}) instance as first argument " \
131131
r"\(got ({0}) instance instead\)$".format(TYPE_NAME)

0 commit comments

Comments
 (0)