Skip to content

Commit 5b8fbb5

Browse files
author
GrimmXoXo
committed
Fix misplaced whitespace in strings
1 parent 539199a commit 5b8fbb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/_libs/tslibs/offsets.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5108,8 +5108,8 @@ def _warn_about_deprecated_aliases(name: str, is_period: bool) -> str:
51085108
warnings.warn(
51095109
f"\'{name}\' is deprecated and will be removed "
51105110
f"in a future version, please use "
5111-
f"\'{c_PERIOD_AND_OFFSET_DEPR_FREQSTR.get(name)}\'"
5112-
f" instead.",
5111+
f"\'{c_PERIOD_AND_OFFSET_DEPR_FREQSTR.get(name)}\' "
5112+
f"instead.",
51135113
FutureWarning,
51145114
stacklevel=find_stack_level(),
51155115
)
@@ -5122,8 +5122,8 @@ def _warn_about_deprecated_aliases(name: str, is_period: bool) -> str:
51225122
warnings.warn(
51235123
f"\'{name}\' is deprecated and will be removed "
51245124
f"in a future version, please use "
5125-
f"\'{_name}\'"
5126-
f" instead.",
5125+
f"\'{_name}\' "
5126+
f"instead.",
51275127
FutureWarning,
51285128
stacklevel=find_stack_level(),
51295129
)

0 commit comments

Comments
 (0)