File tree Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -525,12 +525,12 @@ def open( # type: ignore # noqa A003
525525 newline = "\n "
526526
527527 return super ().open (
528- mode ,
529- buffering = buffering ,
530- encoding = encoding ,
531- errors = errors ,
532- newline = newline ,
533- )
528+ mode ,
529+ buffering = buffering ,
530+ encoding = encoding ,
531+ errors = errors ,
532+ newline = newline ,
533+ )
534534
535535 def dump_json (
536536 self ,
@@ -700,7 +700,7 @@ def abspath(self) -> "PathPlus":
700700
701701 :rtype:
702702
703- .. versionadded:: 1.2 .0
703+ .. versionadded:: 1.3 .0
704704 """
705705
706706 return self .__class__ (os .path .abspath (self ))
Original file line number Diff line number Diff line change @@ -542,11 +542,23 @@ def word_join(
542542 return delimiter .join (words [:- 1 ]) + f" { connective } { words [- 1 ]} "
543543
544544
545- #: A literal ``TAB`` (``\\t``) character for use in f-strings.
546545TAB = "\t "
546+ """
547+ A literal ``TAB`` (``\\ t``) character for use in f-strings.
548+
549+ .. versionadded:: 1.3.0
550+ """
547551
548- #: The carriage return character (``\\r``) for use in f-strings.
549552CR = "\r "
553+ """
554+ The carriage return character (``\\ r``) for use in f-strings.
555+
556+ .. versionadded:: 1.3.0
557+ """
550558
551- #: The newline character (``\\n``) for use in f-strings.
552559LF = "\r "
560+ """
561+ The newline character (``\\ n``) for use in f-strings.
562+
563+ .. versionadded:: 1.3.0
564+ """
You can’t perform that action at this time.
0 commit comments