From 685e82c1e5e7541557193e66eb3e2b27052c0cc1 Mon Sep 17 00:00:00 2001 From: Paul van Mulbregt Date: Sun, 29 Jul 2018 18:04:20 -0400 Subject: [PATCH 1/2] DOC: Fix spaces and brackets in ValueError message for option_context. --- pandas/core/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/config.py b/pandas/core/config.py index 369e0568346ef..1be615927fd50 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -390,8 +390,8 @@ class option_context(object): def __init__(self, *args): if not (len(args) % 2 == 0 and len(args) >= 2): - raise ValueError('Need to invoke as' - 'option_context(pat, val, [(pat, val), ...)).') + raise ValueError('Need to invoke as ' + 'option_context(pat, val, [(pat, val), ...]).') self.ops = list(zip(args[::2], args[1::2])) From 52a82101f9d83f01bedfd4fa3f3e3d917846b1c9 Mon Sep 17 00:00:00 2001 From: Paul van Mulbregt Date: Sun, 29 Jul 2018 22:55:15 -0400 Subject: [PATCH 2/2] DOC: Moved a space character to force a CI rebuild. --- pandas/core/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/config.py b/pandas/core/config.py index 1be615927fd50..abcdbfa12e4e9 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -390,8 +390,8 @@ class option_context(object): def __init__(self, *args): if not (len(args) % 2 == 0 and len(args) >= 2): - raise ValueError('Need to invoke as ' - 'option_context(pat, val, [(pat, val), ...]).') + raise ValueError('Need to invoke as' + ' option_context(pat, val, [(pat, val), ...]).') self.ops = list(zip(args[::2], args[1::2]))