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
525
525
newline = "\n "
526
526
527
527
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
+ )
534
534
535
535
def dump_json (
536
536
self ,
@@ -700,7 +700,7 @@ def abspath(self) -> "PathPlus":
700
700
701
701
:rtype:
702
702
703
- .. versionadded:: 1.2 .0
703
+ .. versionadded:: 1.3 .0
704
704
"""
705
705
706
706
return self .__class__ (os .path .abspath (self ))
Original file line number Diff line number Diff line change @@ -542,11 +542,23 @@ def word_join(
542
542
return delimiter .join (words [:- 1 ]) + f" { connective } { words [- 1 ]} "
543
543
544
544
545
- #: A literal ``TAB`` (``\\t``) character for use in f-strings.
546
545
TAB = "\t "
546
+ """
547
+ A literal ``TAB`` (``\\ t``) character for use in f-strings.
548
+
549
+ .. versionadded:: 1.3.0
550
+ """
547
551
548
- #: The carriage return character (``\\r``) for use in f-strings.
549
552
CR = "\r "
553
+ """
554
+ The carriage return character (``\\ r``) for use in f-strings.
555
+
556
+ .. versionadded:: 1.3.0
557
+ """
550
558
551
- #: The newline character (``\\n``) for use in f-strings.
552
559
LF = "\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