@@ -17,9 +17,8 @@ msgstr ""
1717"Generated-By : Babel 2.17.0\n "
1818
1919#: ../../library/filecmp.rst:2
20- #, fuzzy
2120msgid ":mod:`!filecmp` --- File and Directory Comparisons"
22- msgstr ":mod:`filecmp` --- 파일과 디렉터리 비교"
21+ msgstr ":mod:`! filecmp` --- 파일과 디렉터리 비교"
2322
2423#: ../../library/filecmp.rst:9
2524msgid "**Source code:** :source:`Lib/filecmp.py`"
@@ -52,12 +51,14 @@ msgid ""
5251" and modification time) of both files are identical, the files are taken "
5352"to be equal."
5453msgstr ""
54+ "*shallow*\\ 가 참이고 두 파일의 :func:`os.stat` 서명(파일 유형, 크기, 수정 시간)이 동일하면, 파일을 "
55+ "같다고 취급합니다."
5556
5657#: ../../library/filecmp.rst:29
5758msgid ""
5859"Otherwise, the files are treated as different if their sizes or contents "
5960"differ."
60- msgstr ""
61+ msgstr "그렇지 않으면, 파일의 크기나 내용이 다를 때 다르다고 취급합니다. "
6162
6263#: ../../library/filecmp.rst:31
6364msgid ""
@@ -122,30 +123,28 @@ msgid "The :class:`dircmp` class"
122123msgstr ":class:`dircmp` 클래스"
123124
124125#: ../../library/filecmp.rst:75
125- #, fuzzy
126126msgid ""
127127"Construct a new directory comparison object, to compare the directories "
128128"*a* and *b*. *ignore* is a list of names to ignore, and defaults to "
129129":const:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and"
130130" defaults to ``[os.curdir, os.pardir]``."
131131msgstr ""
132132"*a*\\ 와 *b* 디렉터리를 비교하기 위한, 새로운 디렉터리 비교 객체를 만듭니다. *ignore*\\ 는 무시할 이름 리스트며, "
133- "기본값은 :attr :`filecmp.DEFAULT_IGNORES`\\ 입니다. *hide*\\ 는 숨길 이름 리스트며 기본값은 "
133+ "기본값은 :const :`filecmp.DEFAULT_IGNORES`\\ 입니다. *hide*\\ 는 숨길 이름 리스트며 기본값은 "
134134"``[os.curdir, os.pardir]``\\ 입니다."
135135
136136#: ../../library/filecmp.rst:80
137- #, fuzzy
138137msgid ""
139138"The :class:`dircmp` class compares files by doing *shallow* comparisons "
140139"as described for :func:`filecmp.cmp` by default using the *shallow* "
141140"parameter."
142141msgstr ""
143- ":class:`dircmp` 클래스는 :func:`filecmp.cmp` \\ 에서 설명한 대로 *얕은(shallow)* 비교를 "
144- "수행하여 파일을 비교합니다."
142+ ":class:`dircmp` 클래스는 (*shallow* 매개 변수를 지원하지만) 기본적으로는 "
143+ ":func:`filecmp.cmp` \\ 에서 설명하는 *얕은(shallow)* 비교를 통해 파일을 비교합니다."
145144
146145#: ../../library/filecmp.rst:86
147146msgid "Added the *shallow* parameter."
148- msgstr ""
147+ msgstr "*shallow* 매개 변수를 추가했습니다. "
149148
150149#: ../../library/filecmp.rst:88
151150msgid "The :class:`dircmp` class provides the following methods:"
@@ -177,14 +176,13 @@ msgstr ""
177176" 어트리뷰트를 제공합니다."
178177
179178#: ../../library/filecmp.rst:108
180- #, fuzzy
181179msgid ""
182180"Note that via :meth:`~object.__getattr__` hooks, all attributes are "
183181"computed lazily, so there is no speed penalty if only those attributes "
184182"which are lightweight to compute are used."
185183msgstr ""
186- ":meth:`__getattr__` 훅을 통해, 모든 어트리뷰트가 느긋하게(lazily) 계산되므로, 계산하기가 가벼운 어트리뷰트만 "
187- " 사용하면 속도가 저하되지 않습니다."
184+ ":meth:`~object. __getattr__` 훅을 통해, 모든 어트리뷰트가 느긋하게(lazily) 계산되므로, 계산하기가 "
185+ "가벼운 어트리뷰트만 사용하면 속도가 저하되지 않습니다."
188186
189187#: ../../library/filecmp.rst:115
190188msgid "The directory *a*."
@@ -250,6 +248,8 @@ msgid ""
250248"instances (or MyDirCmp instances if this instance is of type MyDirCmp, a "
251249"subclass of :class:`dircmp`)."
252250msgstr ""
251+ ":attr:`common_dirs`\\ 의 이름을 :class:`dircmp` 인스턴스로 (또는 이 인스턴스가 "
252+ ":class:`dircmp`\\ 의 서브 클래스인 MyDirCmp 형이면 MyDirCmp 인스턴스로) 매핑하는 딕셔너리."
253253
254254#: ../../library/filecmp.rst:187
255255msgid ""
@@ -284,19 +284,15 @@ msgid ""
284284">>> dcmp = dircmp('dir1', 'dir2')\n"
285285">>> print_diff_files(dcmp)"
286286msgstr ""
287-
288- #~ msgid ""
289- #~ "If *shallow* is true, files with "
290- #~ "identical :func:`os.stat` signatures are taken"
291- #~ " to be equal. Otherwise, the "
292- #~ "contents of the files are compared."
293- #~ msgstr ""
294- #~ "*shallow*\\가 참이면 같은 :func:`os.stat` 서명을 "
295- #~ "갖는 파일을 같다고 취급합니다. 그렇지 않으면 파일의 "
296- #~ "내용을 비교합니다."
297-
298- #~ msgid ""
299- #~ "A dictionary mapping names in "
300- #~ ":attr:`common_dirs` to :class:`dircmp` objects."
301- #~ msgstr ":attr:`common_dirs`\\의 이름을 :class:`dircmp` 객체로 매핑하는 딕셔너리."
287+ ">>> from filecmp import dircmp\n"
288+ ">>> def print_diff_files(dcmp):\n"
289+ "... for name in dcmp.diff_files:\n"
290+ "... print(\" diff_file %s found in %s and %s\" % (name, dcmp.left,"
291+ "\n"
292+ "... dcmp.right))\n"
293+ "... for sub_dcmp in dcmp.subdirs.values():\n"
294+ "... print_diff_files(sub_dcmp)\n"
295+ "...\n"
296+ ">>> dcmp = dircmp('dir1', 'dir2')\n"
297+ ">>> print_diff_files(dcmp)"
302298
0 commit comments