Skip to content

Commit e1809f7

Browse files
pvanmulbregtjreback
authored andcommitted
DOC: Fix spaces and brackets in ValueError message for option_context. (#22121)
1 parent 8ca409e commit e1809f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class option_context(object):
391391
def __init__(self, *args):
392392
if not (len(args) % 2 == 0 and len(args) >= 2):
393393
raise ValueError('Need to invoke as'
394-
'option_context(pat, val, [(pat, val), ...)).')
394+
' option_context(pat, val, [(pat, val), ...]).')
395395

396396
self.ops = list(zip(args[::2], args[1::2]))
397397

0 commit comments

Comments
 (0)