88msgstr ""
99"Project-Id-Version : Python 3.7\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-08-04 08:47 +0900\n "
11+ "POT-Creation-Date : 2018-08-07 08:48 +0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1414"MIME-Version : 1.0\n "
@@ -658,35 +658,37 @@ msgid "Return the decoded contents of the pointed-to file as a string::"
658658msgstr ""
659659
660660#: ../../library/pathlib.rst:918
661- msgid "The optional parameters have the same meaning as in :func:`open`."
661+ msgid ""
662+ "The file is opened and then closed. The optional parameters have the same "
663+ "meaning as in :func:`open`."
662664msgstr ""
663665
664- #: ../../library/pathlib.rst:925
666+ #: ../../library/pathlib.rst:926
665667msgid ""
666668"Rename this file or directory to the given *target*. On Unix, if *target* "
667669"exists and is a file, it will be replaced silently if the user has "
668670"permission. *target* can be either a string or another path object::"
669671msgstr ""
670672
671- #: ../../library/pathlib.rst:940
673+ #: ../../library/pathlib.rst:941
672674msgid ""
673675"Rename this file or directory to the given *target*. If *target* points to "
674676"an existing file or directory, it will be unconditionally replaced."
675677msgstr ""
676678
677- #: ../../library/pathlib.rst:946
679+ #: ../../library/pathlib.rst:947
678680msgid ""
679681"Make the path absolute, resolving any symlinks. A new path object is "
680682"returned::"
681683msgstr ""
682684
683- #: ../../library/pathlib.rst:955
685+ #: ../../library/pathlib.rst:956
684686msgid ""
685687"\" ``..``\" components are also eliminated (this is the only method to do "
686688"so)::"
687689msgstr ""
688690
689- #: ../../library/pathlib.rst:961
691+ #: ../../library/pathlib.rst:962
690692msgid ""
691693"If the path doesn't exist and *strict* is ``True``, :exc:`FileNotFoundError`"
692694" is raised. If *strict* is ``False``, the path is resolved as far as "
@@ -695,47 +697,47 @@ msgid ""
695697":exc:`RuntimeError` is raised."
696698msgstr ""
697699
698- #: ../../library/pathlib.rst:967
700+ #: ../../library/pathlib.rst:968
699701msgid "The *strict* argument."
700702msgstr ""
701703
702- #: ../../library/pathlib.rst:972
704+ #: ../../library/pathlib.rst:973
703705msgid ""
704706"This is like calling :meth:`Path.glob` with \" ``**``\" added in front of the"
705707" given *pattern*::"
706708msgstr ""
707709
708- #: ../../library/pathlib.rst:985
710+ #: ../../library/pathlib.rst:986
709711msgid "Remove this directory. The directory must be empty."
710712msgstr ""
711713
712- #: ../../library/pathlib.rst:990
714+ #: ../../library/pathlib.rst:991
713715msgid ""
714716"Return whether this path points to the same file as *other_path*, which can "
715717"be either a Path object, or a string. The semantics are similar to "
716718":func:`os.path.samefile` and :func:`os.path.samestat`."
717719msgstr ""
718720
719- #: ../../library/pathlib.rst:994
721+ #: ../../library/pathlib.rst:995
720722msgid ""
721723"An :exc:`OSError` can be raised if either file cannot be accessed for some "
722724"reason."
723725msgstr ""
724726
725- #: ../../library/pathlib.rst:1011
727+ #: ../../library/pathlib.rst:1012
726728msgid ""
727729"Make this path a symbolic link to *target*. Under Windows, "
728730"*target_is_directory* must be true (default ``False``) if the link's target "
729731"is a directory. Under POSIX, *target_is_directory*'s value is ignored."
730732msgstr ""
731733
732- #: ../../library/pathlib.rst:1027
734+ #: ../../library/pathlib.rst:1028
733735msgid ""
734736"The order of arguments (link, target) is the reverse of "
735737":func:`os.symlink`'s."
736738msgstr ""
737739
738- #: ../../library/pathlib.rst:1033
740+ #: ../../library/pathlib.rst:1034
739741msgid ""
740742"Create a file at this given path. If *mode* is given, it is combined with "
741743"the process' ``umask`` value to determine the file mode and access flags. "
@@ -744,153 +746,153 @@ msgid ""
744746":exc:`FileExistsError` is raised."
745747msgstr ""
746748
747- #: ../../library/pathlib.rst:1042
749+ #: ../../library/pathlib.rst:1043
748750msgid ""
749751"Remove this file or symbolic link. If the path points to a directory, use "
750752":func:`Path.rmdir` instead."
751753msgstr ""
752754
753- #: ../../library/pathlib.rst:1048
755+ #: ../../library/pathlib.rst:1049
754756msgid ""
755757"Open the file pointed to in bytes mode, write *data* to it, and close the "
756758"file::"
757759msgstr ""
758760
759- #: ../../library/pathlib.rst:1057
761+ #: ../../library/pathlib.rst:1058
760762msgid "An existing file of the same name is overwritten."
761763msgstr ""
762764
763- #: ../../library/pathlib.rst:1064
765+ #: ../../library/pathlib.rst:1065
764766msgid ""
765767"Open the file pointed to in text mode, write *data* to it, and close the "
766768"file::"
767769msgstr ""
768770
769- #: ../../library/pathlib.rst:1076
771+ #: ../../library/pathlib.rst:1077
770772msgid "Correspondence to tools in the :mod:`os` module"
771773msgstr ""
772774
773- #: ../../library/pathlib.rst:1078
775+ #: ../../library/pathlib.rst:1079
774776msgid ""
775777"Below is a table mapping various :mod:`os` functions to their corresponding "
776778":class:`PurePath`/:class:`Path` equivalent."
777779msgstr ""
778780
779- #: ../../library/pathlib.rst:1083
781+ #: ../../library/pathlib.rst:1084
780782msgid ""
781783"Although :func:`os.path.relpath` and :meth:`PurePath.relative_to` have some "
782784"overlapping use-cases, their semantics differ enough to warrant not "
783785"considering them equivalent."
784786msgstr ""
785787
786- #: ../../library/pathlib.rst:1088
788+ #: ../../library/pathlib.rst:1089
787789msgid "os and os.path"
788790msgstr ""
789791
790- #: ../../library/pathlib.rst:1088
792+ #: ../../library/pathlib.rst:1089
791793msgid "pathlib"
792794msgstr ""
793795
794- #: ../../library/pathlib.rst:1090
796+ #: ../../library/pathlib.rst:1091
795797msgid ":func:`os.path.abspath`"
796798msgstr ""
797799
798- #: ../../library/pathlib.rst:1090
800+ #: ../../library/pathlib.rst:1091
799801msgid ":meth:`Path.resolve`"
800802msgstr ""
801803
802- #: ../../library/pathlib.rst:1091
804+ #: ../../library/pathlib.rst:1092
803805msgid ":func:`os.getcwd`"
804806msgstr ""
805807
806- #: ../../library/pathlib.rst:1091
808+ #: ../../library/pathlib.rst:1092
807809msgid ":func:`Path.cwd`"
808810msgstr ""
809811
810- #: ../../library/pathlib.rst:1092
812+ #: ../../library/pathlib.rst:1093
811813msgid ":func:`os.path.exists`"
812814msgstr ""
813815
814- #: ../../library/pathlib.rst:1092
816+ #: ../../library/pathlib.rst:1093
815817msgid ":meth:`Path.exists`"
816818msgstr ""
817819
818- #: ../../library/pathlib.rst:1093
820+ #: ../../library/pathlib.rst:1094
819821msgid ":func:`os.path.expanduser`"
820822msgstr ""
821823
822- #: ../../library/pathlib.rst:1093
824+ #: ../../library/pathlib.rst:1094
823825msgid ":meth:`Path.expanduser` and :meth:`Path.home`"
824826msgstr ""
825827
826- #: ../../library/pathlib.rst:1095
828+ #: ../../library/pathlib.rst:1096
827829msgid ":func:`os.path.isdir`"
828830msgstr ""
829831
830- #: ../../library/pathlib.rst:1095
832+ #: ../../library/pathlib.rst:1096
831833msgid ":meth:`Path.is_dir`"
832834msgstr ""
833835
834- #: ../../library/pathlib.rst:1096
836+ #: ../../library/pathlib.rst:1097
835837msgid ":func:`os.path.isfile`"
836838msgstr ""
837839
838- #: ../../library/pathlib.rst:1096
840+ #: ../../library/pathlib.rst:1097
839841msgid ":meth:`Path.is_file`"
840842msgstr ""
841843
842- #: ../../library/pathlib.rst:1097
844+ #: ../../library/pathlib.rst:1098
843845msgid ":func:`os.path.islink`"
844846msgstr ""
845847
846- #: ../../library/pathlib.rst:1097
848+ #: ../../library/pathlib.rst:1098
847849msgid ":meth:`Path.is_symlink`"
848850msgstr ""
849851
850- #: ../../library/pathlib.rst:1098
852+ #: ../../library/pathlib.rst:1099
851853msgid ":func:`os.stat`"
852854msgstr ""
853855
854- #: ../../library/pathlib.rst:1098
856+ #: ../../library/pathlib.rst:1099
855857msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`"
856858msgstr ""
857859
858- #: ../../library/pathlib.rst:1101
860+ #: ../../library/pathlib.rst:1102
859861msgid ":func:`os.path.isabs`"
860862msgstr ""
861863
862- #: ../../library/pathlib.rst:1101
864+ #: ../../library/pathlib.rst:1102
863865msgid ":meth:`PurePath.is_absolute`"
864866msgstr ""
865867
866- #: ../../library/pathlib.rst:1102
868+ #: ../../library/pathlib.rst:1103
867869msgid ":func:`os.path.join`"
868870msgstr ""
869871
870- #: ../../library/pathlib.rst:1102
872+ #: ../../library/pathlib.rst:1103
871873msgid ":func:`PurePath.joinpath`"
872874msgstr ""
873875
874- #: ../../library/pathlib.rst:1103
876+ #: ../../library/pathlib.rst:1104
875877msgid ":func:`os.path.basename`"
876878msgstr ""
877879
878- #: ../../library/pathlib.rst:1103
880+ #: ../../library/pathlib.rst:1104
879881msgid ":data:`PurePath.name`"
880882msgstr ""
881883
882- #: ../../library/pathlib.rst:1104
884+ #: ../../library/pathlib.rst:1105
883885msgid ":func:`os.path.dirname`"
884886msgstr ""
885887
886- #: ../../library/pathlib.rst:1104
888+ #: ../../library/pathlib.rst:1105
887889msgid ":data:`PurePath.parent`"
888890msgstr ""
889891
890- #: ../../library/pathlib.rst:1105
892+ #: ../../library/pathlib.rst:1106
891893msgid ":func:`os.path.splitext`"
892894msgstr ""
893895
894- #: ../../library/pathlib.rst:1105
896+ #: ../../library/pathlib.rst:1106
895897msgid ":data:`PurePath.suffix`"
896898msgstr ""
0 commit comments