Skip to content

Commit e4def8a

Browse files
pvanmulbregtvictor
authored and
victor
committed
DOC: Fix spaces and brackets in ValueError message for option_context. (pandas-dev#22121)
1 parent 98cb6a8 commit e4def8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/config.py

+1-1
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)