55#
66# Translators:
77# python-doc bot, 2025
8+ # Takanori Suzuki <takanori@takanory.net>, 2026
89#
910#, fuzzy
1011msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314"Report-Msgid-Bugs-To : \n "
1415"POT-Creation-Date : 2026-01-13 14:20+0000\n "
1516"PO-Revision-Date : 2025-09-16 00:01+0000\n "
16- "Last-Translator : python-doc bot, 2025 \n "
17+ "Last-Translator : Takanori Suzuki <takanori@takanory.net>, 2026 \n "
1718"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
1819"ja/)\n "
1920"MIME-Version : 1.0\n "
@@ -173,6 +174,10 @@ msgid ""
173174">>> q.is_dir()\n"
174175"False"
175176msgstr ""
177+ ">>> q.exists()\n"
178+ "True\n"
179+ ">>> q.is_dir()\n"
180+ "False"
176181
177182#: ../../library/pathlib.rst:89
178183msgid "Opening a file::"
@@ -184,6 +189,9 @@ msgid ""
184189"...\n"
185190"'#!/bin/bash\\ n'"
186191msgstr ""
192+ ">>> with q.open() as f: f.readline()\n"
193+ "...\n"
194+ "'#!/bin/bash\\ n'"
187195
188196#: ../../library/pathlib.rst:97
189197msgid "Exceptions"
@@ -246,6 +254,10 @@ msgid ""
246254">>> PurePath(Path('foo'), Path('bar'))\n"
247255"PurePosixPath('foo/bar')"
248256msgstr ""
257+ ">>> PurePath('foo', 'some/path', 'bar')\n"
258+ "PurePosixPath('foo/some/path/bar')\n"
259+ ">>> PurePath(Path('foo'), Path('bar'))\n"
260+ "PurePosixPath('foo/bar')"
249261
250262#: ../../library/pathlib.rst:134
251263msgid "When *pathsegments* is empty, the current directory is assumed::"
@@ -256,6 +268,8 @@ msgid ""
256268">>> PurePath()\n"
257269"PurePosixPath('.')"
258270msgstr ""
271+ ">>> PurePath()\n"
272+ "PurePosixPath('.')"
259273
260274#: ../../library/pathlib.rst:139
261275msgid ""
@@ -272,6 +286,10 @@ msgid ""
272286">>> PureWindowsPath('c:/Windows', 'd:bar')\n"
273287"PureWindowsPath('d:bar')"
274288msgstr ""
289+ ">>> PurePath('/etc', '/usr', 'lib64')\n"
290+ "PurePosixPath('/usr/lib64')\n"
291+ ">>> PureWindowsPath('c:/Windows', 'd:bar')\n"
292+ "PureWindowsPath('d:bar')"
275293
276294#: ../../library/pathlib.rst:147
277295msgid ""
@@ -286,6 +304,8 @@ msgid ""
286304">>> PureWindowsPath('c:/Windows', '/Program Files')\n"
287305"PureWindowsPath('c:/Program Files')"
288306msgstr ""
307+ ">>> PureWindowsPath('c:/Windows', '/Program Files')\n"
308+ "PureWindowsPath('c:/Program Files')"
289309
290310#: ../../library/pathlib.rst:153
291311msgid ""
@@ -310,6 +330,14 @@ msgid ""
310330">>> PurePath('foo/../bar')\n"
311331"PurePosixPath('foo/../bar')"
312332msgstr ""
333+ ">>> PurePath('foo//bar')\n"
334+ "PurePosixPath('foo/bar')\n"
335+ ">>> PurePath('//foo/bar')\n"
336+ "PurePosixPath('//foo/bar')\n"
337+ ">>> PurePath('foo/./bar')\n"
338+ "PurePosixPath('foo/bar')\n"
339+ ">>> PurePath('foo/../bar')\n"
340+ "PurePosixPath('foo/../bar')"
313341
314342#: ../../library/pathlib.rst:166
315343msgid ""
@@ -346,6 +374,8 @@ msgid ""
346374">>> PurePosixPath('/etc/hosts')\n"
347375"PurePosixPath('/etc/hosts')"
348376msgstr ""
377+ ">>> PurePosixPath('/etc/hosts')\n"
378+ "PurePosixPath('/etc/hosts')"
349379
350380#: ../../library/pathlib.rst:184 ../../library/pathlib.rst:196
351381#: ../../library/pathlib.rst:779 ../../library/pathlib.rst:789
@@ -368,6 +398,10 @@ msgid ""
368398">>> PureWindowsPath('//server/share/file')\n"
369399"PureWindowsPath('//server/share/file')"
370400msgstr ""
401+ ">>> PureWindowsPath('c:/', 'Users', 'Ximénez')\n"
402+ "PureWindowsPath('c:/Users/Ximénez')\n"
403+ ">>> PureWindowsPath('//server/share/file')\n"
404+ "PureWindowsPath('//server/share/file')"
371405
372406#: ../../library/pathlib.rst:200
373407msgid ""
@@ -403,6 +437,14 @@ msgid ""
403437">>> PureWindowsPath('C:') < PureWindowsPath('d:')\n"
404438"True"
405439msgstr ""
440+ ">>> PurePosixPath('foo') == PurePosixPath('FOO')\n"
441+ "False\n"
442+ ">>> PureWindowsPath('foo') == PureWindowsPath('FOO')\n"
443+ "True\n"
444+ ">>> PureWindowsPath('FOO') in { PureWindowsPath('foo') }\n"
445+ "True\n"
446+ ">>> PureWindowsPath('C:') < PureWindowsPath('d:')\n"
447+ "True"
406448
407449#: ../../library/pathlib.rst:220
408450msgid "Paths of a different flavour compare unequal and cannot be ordered::"
@@ -420,6 +462,13 @@ msgid ""
420462"TypeError: '<' not supported between instances of 'PureWindowsPath' and "
421463"'PurePosixPath'"
422464msgstr ""
465+ ">>> PureWindowsPath('foo') == PurePosixPath('foo')\n"
466+ "False\n"
467+ ">>> PureWindowsPath('foo') < PurePosixPath('foo')\n"
468+ "Traceback (most recent call last):\n"
469+ " File \" <stdin>\" , line 1, in <module>\n"
470+ "TypeError: '<' not supported between instances of 'PureWindowsPath' and "
471+ "'PurePosixPath'"
423472
424473#: ../../library/pathlib.rst:231
425474msgid "Operators"
@@ -453,6 +502,18 @@ msgid ""
453502">>> PureWindowsPath('c:/Windows', '/Program Files')\n"
454503"PureWindowsPath('c:/Program Files')"
455504msgstr ""
505+ ">>> p = PurePath('/etc')\n"
506+ ">>> p\n"
507+ "PurePosixPath('/etc')\n"
508+ ">>> p / 'init.d' / 'apache2'\n"
509+ "PurePosixPath('/etc/init.d/apache2')\n"
510+ ">>> q = PurePath('bin')\n"
511+ ">>> '/usr' / q\n"
512+ "PurePosixPath('/usr/bin')\n"
513+ ">>> p / '/an_absolute_path'\n"
514+ "PurePosixPath('/an_absolute_path')\n"
515+ ">>> PureWindowsPath('c:/Windows', '/Program Files')\n"
516+ "PureWindowsPath('c:/Program Files')"
456517
457518#: ../../library/pathlib.rst:251
458519msgid ""
@@ -469,6 +530,10 @@ msgid ""
469530">>> os.fspath(p)\n"
470531"'/etc'"
471532msgstr ""
533+ ">>> import os\n"
534+ ">>> p = PurePath('/etc')\n"
535+ ">>> os.fspath(p)\n"
536+ "'/etc'"
472537
473538#: ../../library/pathlib.rst:259
474539msgid ""
@@ -489,6 +554,12 @@ msgid ""
489554">>> str(p)\n"
490555"'c:\\\\ Program Files'"
491556msgstr ""
557+ ">>> p = PurePath('/etc')\n"
558+ ">>> str(p)\n"
559+ "'/etc'\n"
560+ ">>> p = PureWindowsPath('c:/Program Files')\n"
561+ ">>> str(p)\n"
562+ "'c:\\\\ Program Files'"
492563
493564#: ../../library/pathlib.rst:270
494565msgid ""
@@ -503,6 +574,8 @@ msgid ""
503574">>> bytes(p)\n"
504575"b'/etc'"
505576msgstr ""
577+ ">>> bytes(p)\n"
578+ "b'/etc'"
506579
507580#: ../../library/pathlib.rst:277
508581msgid ""
@@ -537,6 +610,13 @@ msgid ""
537610">>> p.parts\n"
538611"('c:\\\\ ', 'Program Files', 'PSF')"
539612msgstr ""
613+ ">>> p = PurePath('/usr/bin/python3')\n"
614+ ">>> p.parts\n"
615+ "('/', 'usr', 'bin', 'python3')\n"
616+ "\n"
617+ ">>> p = PureWindowsPath('c:/Program Files/PSF')\n"
618+ ">>> p.parts\n"
619+ "('c:\\\\ ', 'Program Files', 'PSF')"
540620
541621#: ../../library/pathlib.rst:299
542622msgid "(note how the drive and local root are regrouped in a single part)"
@@ -555,6 +635,8 @@ msgid ""
555635"The implementation of the :mod:`os.path` module used for low-level path "
556636"parsing and joining: either :mod:`!posixpath` or :mod:`!ntpath`."
557637msgstr ""
638+ "低レベルのパスのパースと結合に使用される :mod:`os.path` モジュールの実装。:"
639+ "mod:`!posixpath` または :mod:`!ntpath`。"
558640
559641#: ../../library/pathlib.rst:320
560642msgid "A string representing the drive letter or name, if any::"
0 commit comments