@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.10\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2021-06-29 12:56 +0000\n "
15+ "POT-Creation-Date : 2021-08-05 13:13 +0000\n "
1616"PO-Revision-Date : 2021-06-28 01:06+0000\n "
1717"Last-Translator : i17obot <i17obot@rougeth.com>, 2021\n "
1818"Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
@@ -50,30 +50,37 @@ msgstr ""
5050
5151#: ../../library/filecmp.rst:25
5252msgid ""
53- "If *shallow* is true, files with identical :func:`os.stat` signatures are "
54- "taken to be equal. Otherwise, the contents of the files are compared."
53+ "If *shallow* is true and the :func:`os.stat` signatures (file type, size, "
54+ "and modification time) of both files are identical, the files are taken to "
55+ "be equal."
5556msgstr ""
5657
57- #: ../../library/filecmp.rst:28
58+ #: ../../library/filecmp.rst:29
59+ msgid ""
60+ "Otherwise, the files are treated as different if their sizes or contents "
61+ "differ."
62+ msgstr ""
63+
64+ #: ../../library/filecmp.rst:31
5865msgid ""
5966"Note that no external programs are called from this function, giving it "
6067"portability and efficiency."
6168msgstr ""
6269
63- #: ../../library/filecmp.rst:31
70+ #: ../../library/filecmp.rst:34
6471msgid ""
6572"This function uses a cache for past comparisons and the results, with cache "
6673"entries invalidated if the :func:`os.stat` information for the file "
6774"changes. The entire cache may be cleared using :func:`clear_cache`."
6875msgstr ""
6976
70- #: ../../library/filecmp.rst:38
77+ #: ../../library/filecmp.rst:41
7178msgid ""
7279"Compare the files in the two directories *dir1* and *dir2* whose names are "
7380"given by *common*."
7481msgstr ""
7582
76- #: ../../library/filecmp.rst:41
83+ #: ../../library/filecmp.rst:44
7784msgid ""
7885"Returns three lists of file names: *match*, *mismatch*, *errors*. *match* "
7986"contains the list of files that match, *mismatch* contains the names of "
@@ -83,153 +90,153 @@ msgid ""
8390"could not be done for some other reason."
8491msgstr ""
8592
86- #: ../../library/filecmp.rst:48
93+ #: ../../library/filecmp.rst:51
8794msgid ""
8895"The *shallow* parameter has the same meaning and default value as for :func:"
8996"`filecmp.cmp`."
9097msgstr ""
9198
92- #: ../../library/filecmp.rst:51
99+ #: ../../library/filecmp.rst:54
93100msgid ""
94101"For example, ``cmpfiles('a', 'b', ['c', 'd/e'])`` will compare ``a/c`` with "
95102"``b/c`` and ``a/d/e`` with ``b/d/e``. ``'c'`` and ``'d/e'`` will each be in "
96103"one of the three returned lists."
97104msgstr ""
98105
99- #: ../../library/filecmp.rst:58
106+ #: ../../library/filecmp.rst:61
100107msgid ""
101108"Clear the filecmp cache. This may be useful if a file is compared so quickly "
102109"after it is modified that it is within the mtime resolution of the "
103110"underlying filesystem."
104111msgstr ""
105112
106- #: ../../library/filecmp.rst:68
113+ #: ../../library/filecmp.rst:71
107114msgid "The :class:`dircmp` class"
108115msgstr "A classe :class:`dircmp`"
109116
110- #: ../../library/filecmp.rst:72
117+ #: ../../library/filecmp.rst:75
111118msgid ""
112119"Construct a new directory comparison object, to compare the directories *a* "
113120"and *b*. *ignore* is a list of names to ignore, and defaults to :attr:"
114121"`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and defaults "
115122"to ``[os.curdir, os.pardir]``."
116123msgstr ""
117124
118- #: ../../library/filecmp.rst:77
125+ #: ../../library/filecmp.rst:80
119126msgid ""
120127"The :class:`dircmp` class compares files by doing *shallow* comparisons as "
121128"described for :func:`filecmp.cmp`."
122129msgstr ""
123130
124- #: ../../library/filecmp.rst:80
131+ #: ../../library/filecmp.rst:83
125132msgid "The :class:`dircmp` class provides the following methods:"
126133msgstr ""
127134
128- #: ../../library/filecmp.rst:84
135+ #: ../../library/filecmp.rst:87
129136msgid "Print (to :data:`sys.stdout`) a comparison between *a* and *b*."
130137msgstr ""
131138
132- #: ../../library/filecmp.rst:88
139+ #: ../../library/filecmp.rst:91
133140msgid ""
134141"Print a comparison between *a* and *b* and common immediate subdirectories."
135142msgstr ""
136143
137- #: ../../library/filecmp.rst:93
144+ #: ../../library/filecmp.rst:96
138145msgid ""
139146"Print a comparison between *a* and *b* and common subdirectories "
140147"(recursively)."
141148msgstr ""
142149
143- #: ../../library/filecmp.rst:96
150+ #: ../../library/filecmp.rst:99
144151msgid ""
145152"The :class:`dircmp` class offers a number of interesting attributes that may "
146153"be used to get various bits of information about the directory trees being "
147154"compared."
148155msgstr ""
149156
150- #: ../../library/filecmp.rst:100
157+ #: ../../library/filecmp.rst:103
151158msgid ""
152159"Note that via :meth:`__getattr__` hooks, all attributes are computed lazily, "
153160"so there is no speed penalty if only those attributes which are lightweight "
154161"to compute are used."
155162msgstr ""
156163
157- #: ../../library/filecmp.rst:107
164+ #: ../../library/filecmp.rst:110
158165msgid "The directory *a*."
159166msgstr ""
160167
161- #: ../../library/filecmp.rst:112
168+ #: ../../library/filecmp.rst:115
162169msgid "The directory *b*."
163170msgstr ""
164171
165- #: ../../library/filecmp.rst:117
172+ #: ../../library/filecmp.rst:120
166173msgid "Files and subdirectories in *a*, filtered by *hide* and *ignore*."
167174msgstr ""
168175
169- #: ../../library/filecmp.rst:122
176+ #: ../../library/filecmp.rst:125
170177msgid "Files and subdirectories in *b*, filtered by *hide* and *ignore*."
171178msgstr ""
172179
173- #: ../../library/filecmp.rst:127
180+ #: ../../library/filecmp.rst:130
174181msgid "Files and subdirectories in both *a* and *b*."
175182msgstr ""
176183
177- #: ../../library/filecmp.rst:132
184+ #: ../../library/filecmp.rst:135
178185msgid "Files and subdirectories only in *a*."
179186msgstr ""
180187
181- #: ../../library/filecmp.rst:137
188+ #: ../../library/filecmp.rst:140
182189msgid "Files and subdirectories only in *b*."
183190msgstr ""
184191
185- #: ../../library/filecmp.rst:142
192+ #: ../../library/filecmp.rst:145
186193msgid "Subdirectories in both *a* and *b*."
187194msgstr ""
188195
189- #: ../../library/filecmp.rst:147
196+ #: ../../library/filecmp.rst:150
190197msgid "Files in both *a* and *b*."
191198msgstr "Arquivos em *a* e *b*."
192199
193- #: ../../library/filecmp.rst:152
200+ #: ../../library/filecmp.rst:155
194201msgid ""
195202"Names in both *a* and *b*, such that the type differs between the "
196203"directories, or names for which :func:`os.stat` reports an error."
197204msgstr ""
198205
199- #: ../../library/filecmp.rst:158
206+ #: ../../library/filecmp.rst:161
200207msgid ""
201208"Files which are identical in both *a* and *b*, using the class's file "
202209"comparison operator."
203210msgstr ""
204211
205- #: ../../library/filecmp.rst:164
212+ #: ../../library/filecmp.rst:167
206213msgid ""
207214"Files which are in both *a* and *b*, whose contents differ according to the "
208215"class's file comparison operator."
209216msgstr ""
210217
211- #: ../../library/filecmp.rst:170
218+ #: ../../library/filecmp.rst:173
212219msgid "Files which are in both *a* and *b*, but could not be compared."
213220msgstr ""
214221
215- #: ../../library/filecmp.rst:175
222+ #: ../../library/filecmp.rst:178
216223msgid ""
217224"A dictionary mapping names in :attr:`common_dirs` to :class:`dircmp` "
218225"instances (or MyDirCmp instances if this instance is of type MyDirCmp, a "
219226"subclass of :class:`dircmp`)."
220227msgstr ""
221228
222- #: ../../library/filecmp.rst:179
229+ #: ../../library/filecmp.rst:182
223230msgid ""
224231"Previously entries were always :class:`dircmp` instances. Now entries are "
225232"the same type as *self*, if *self* is a subclass of :class:`dircmp`."
226233msgstr ""
227234
228- #: ../../library/filecmp.rst:188
235+ #: ../../library/filecmp.rst:191
229236msgid "List of directories ignored by :class:`dircmp` by default."
230237msgstr ""
231238
232- #: ../../library/filecmp.rst:191
239+ #: ../../library/filecmp.rst:194
233240msgid ""
234241"Here is a simplified example of using the ``subdirs`` attribute to search "
235242"recursively through two directories to show common different files::"
0 commit comments