Skip to content

Commit 422bafb

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 6d8e4ee commit 422bafb

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed

howto/descriptor.po

+30-26
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.9\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2021-02-03 05:20+0000\n"
19+
"POT-Creation-Date: 2021-03-14 05:42+0000\n"
2020
"PO-Revision-Date: 2017-02-16 17:44+0000\n"
2121
"Last-Translator: mollinaca, 2020\n"
2222
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -845,7 +845,7 @@ msgid ""
845845
msgstr ""
846846

847847
#: ../../howto/descriptor.rst:1133
848-
msgid "Static methods"
848+
msgid "Other kinds of methods"
849849
msgstr ""
850850

851851
#: ../../howto/descriptor.rst:1135
@@ -907,7 +907,11 @@ msgstr "f(type(obj), \\*args)"
907907
msgid "f(cls, \\*args)"
908908
msgstr ""
909909

910-
#: ../../howto/descriptor.rst:1156
910+
#: ../../howto/descriptor.rst:1158
911+
msgid "Static methods"
912+
msgstr ""
913+
914+
#: ../../howto/descriptor.rst:1160
911915
msgid ""
912916
"Static methods return the underlying function without changes. Calling "
913917
"either ``c.f`` or ``C.f`` is the equivalent of a direct lookup into "
@@ -919,13 +923,13 @@ msgstr ""
919923
"\"f\")`` や ``object.__getattribute__(C, \"f\")`` "
920924
"を直接探索するのと同じです。結果として、関数はオブジェクトとクラスから同じようにアクセスできます。"
921925

922-
#: ../../howto/descriptor.rst:1162
926+
#: ../../howto/descriptor.rst:1166
923927
msgid ""
924928
"Good candidates for static methods are methods that do not reference the "
925929
"``self`` variable."
926930
msgstr "静的メソッドにすると良いのは、 ``self`` 変数への参照を持たないメソッドです。"
927931

928-
#: ../../howto/descriptor.rst:1165
932+
#: ../../howto/descriptor.rst:1169
929933
msgid ""
930934
"For instance, a statistics package may include a container class for "
931935
"experimental data. The class provides normal methods for computing the "
@@ -941,30 +945,30 @@ msgstr ""
941945
"は統計上の便利な変換ルーチンですが、特定のデータセットに直接には依存しません。これは、オブジェクトからでもクラスからでも呼び出せます: "
942946
"``s.erf(1.5) --> .9332`` または ``Sample.erf(1.5) --> .9332`` 。"
943947

944-
#: ../../howto/descriptor.rst:1174
948+
#: ../../howto/descriptor.rst:1178
945949
msgid ""
946950
"Since static methods return the underlying function with no changes, the "
947951
"example calls are unexciting:"
948952
msgstr ""
949953

950-
#: ../../howto/descriptor.rst:1191
954+
#: ../../howto/descriptor.rst:1195
951955
msgid ""
952956
"Using the non-data descriptor protocol, a pure Python version of "
953957
":func:`staticmethod` would look like this:"
954958
msgstr ""
955959

956-
#: ../../howto/descriptor.rst:1207
960+
#: ../../howto/descriptor.rst:1211
957961
msgid "Class methods"
958962
msgstr ""
959963

960-
#: ../../howto/descriptor.rst:1209
964+
#: ../../howto/descriptor.rst:1213
961965
msgid ""
962966
"Unlike static methods, class methods prepend the class reference to the "
963967
"argument list before calling the function. This format is the same for "
964968
"whether the caller is an object or a class:"
965969
msgstr ""
966970

967-
#: ../../howto/descriptor.rst:1227
971+
#: ../../howto/descriptor.rst:1231
968972
msgid ""
969973
"This behavior is useful whenever the method only needs to have a class "
970974
"reference and does not rely on data stored in a specific instance. One use "
@@ -973,61 +977,61 @@ msgid ""
973977
"of keys. The pure Python equivalent is:"
974978
msgstr ""
975979

976-
#: ../../howto/descriptor.rst:1244
980+
#: ../../howto/descriptor.rst:1248
977981
msgid "Now a new dictionary of unique keys can be constructed like this:"
978982
msgstr ""
979983

980-
#: ../../howto/descriptor.rst:1254
984+
#: ../../howto/descriptor.rst:1258
981985
msgid ""
982986
"Using the non-data descriptor protocol, a pure Python version of "
983987
":func:`classmethod` would look like this:"
984988
msgstr ""
985989

986-
#: ../../howto/descriptor.rst:1292
990+
#: ../../howto/descriptor.rst:1296
987991
msgid ""
988992
"The code path for ``hasattr(obj, '__get__')`` was added in Python 3.9 and "
989993
"makes it possible for :func:`classmethod` to support chained decorators. For"
990994
" example, a classmethod and property could be chained together:"
991995
msgstr ""
992996

993-
#: ../../howto/descriptor.rst:1311
997+
#: ../../howto/descriptor.rst:1315
994998
msgid "Member objects and __slots__"
995999
msgstr ""
9961000

997-
#: ../../howto/descriptor.rst:1313
1001+
#: ../../howto/descriptor.rst:1317
9981002
msgid ""
9991003
"When a class defines ``__slots__``, it replaces instance dictionaries with a"
10001004
" fixed-length array of slot values. From a user point of view that has "
10011005
"several effects:"
10021006
msgstr ""
10031007

1004-
#: ../../howto/descriptor.rst:1317
1008+
#: ../../howto/descriptor.rst:1321
10051009
msgid ""
10061010
"1. Provides immediate detection of bugs due to misspelled attribute "
10071011
"assignments. Only attribute names specified in ``__slots__`` are allowed:"
10081012
msgstr ""
10091013

1010-
#: ../../howto/descriptor.rst:1333
1014+
#: ../../howto/descriptor.rst:1337
10111015
msgid ""
10121016
"2. Helps create immutable objects where descriptors manage access to private"
10131017
" attributes stored in ``__slots__``:"
10141018
msgstr ""
10151019

1016-
#: ../../howto/descriptor.rst:1368
1020+
#: ../../howto/descriptor.rst:1372
10171021
msgid ""
10181022
"3. Saves memory. On a 64-bit Linux build, an instance with two attributes "
10191023
"takes 48 bytes with ``__slots__`` and 152 bytes without. This `flyweight "
10201024
"design pattern <https://en.wikipedia.org/wiki/Flyweight_pattern>`_ likely "
10211025
"only matters when a large number of instances are going to be created."
10221026
msgstr ""
10231027

1024-
#: ../../howto/descriptor.rst:1373
1028+
#: ../../howto/descriptor.rst:1377
10251029
msgid ""
10261030
"4. Blocks tools like :func:`functools.cached_property` which require an "
10271031
"instance dictionary to function correctly:"
10281032
msgstr ""
10291033

1030-
#: ../../howto/descriptor.rst:1395
1034+
#: ../../howto/descriptor.rst:1399
10311035
msgid ""
10321036
"It is not possible to create an exact drop-in pure Python version of "
10331037
"``__slots__`` because it requires direct access to C structures and control "
@@ -1037,36 +1041,36 @@ msgid ""
10371041
"managed by member descriptors:"
10381042
msgstr ""
10391043

1040-
#: ../../howto/descriptor.rst:1438
1044+
#: ../../howto/descriptor.rst:1442
10411045
msgid ""
10421046
"The :meth:`type.__new__` method takes care of adding member objects to class"
10431047
" variables:"
10441048
msgstr ""
10451049

1046-
#: ../../howto/descriptor.rst:1454
1050+
#: ../../howto/descriptor.rst:1458
10471051
msgid ""
10481052
"The :meth:`object.__new__` method takes care of creating instances that have"
10491053
" slots instead of an instance dictionary. Here is a rough simulation in "
10501054
"pure Python:"
10511055
msgstr ""
10521056

1053-
#: ../../howto/descriptor.rst:1489
1057+
#: ../../howto/descriptor.rst:1493
10541058
msgid ""
10551059
"To use the simulation in a real class, just inherit from :class:`Object` and"
10561060
" set the :term:`metaclass` to :class:`Type`:"
10571061
msgstr ""
10581062

1059-
#: ../../howto/descriptor.rst:1503
1063+
#: ../../howto/descriptor.rst:1507
10601064
msgid ""
10611065
"At this point, the metaclass has loaded member objects for *x* and *y*::"
10621066
msgstr ""
10631067

1064-
#: ../../howto/descriptor.rst:1524
1068+
#: ../../howto/descriptor.rst:1528
10651069
msgid ""
10661070
"When instances are created, they have a ``slot_values`` list where the "
10671071
"attributes are stored:"
10681072
msgstr ""
10691073

1070-
#: ../../howto/descriptor.rst:1536
1074+
#: ../../howto/descriptor.rst:1540
10711075
msgid "Misspelled or unassigned attributes will raise an exception:"
10721076
msgstr ""

library/collections.po

+2-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.9\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
22+
"POT-Creation-Date: 2021-03-14 05:42+0000\n"
2323
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
2424
"Last-Translator: mollinaca, 2020\n"
2525
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -262,16 +262,12 @@ msgstr ""
262262
#: ../../library/collections.rst:130
263263
msgid ""
264264
"Django's `Context class "
265-
"<https://github.com/django/django/blob/master/django/template/context.py>`_ "
265+
"<https://github.com/django/django/blob/main/django/template/context.py>`_ "
266266
"for templating is a read-only chain of mappings. It also features pushing "
267267
"and popping of contexts similar to the "
268268
":meth:`~collections.ChainMap.new_child` method and the "
269269
":attr:`~collections.ChainMap.parents` property."
270270
msgstr ""
271-
"Django のテンプレート用の `Context class "
272-
"<https://github.com/django/django/blob/master/django/template/context.py>`_ "
273-
"は、読み出し専用のマッピングのチェーンです。 :meth:`~collections.ChainMap.new_child` メソッドや "
274-
":attr:`~collections.ChainMap.parents` プロパティに似た push や pop の機能もあります。"
275271

276272
#: ../../library/collections.rst:137
277273
msgid ""

library/unittest.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.9\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2021-02-23 05:32+0000\n"
23+
"POT-Creation-Date: 2021-03-14 05:42+0000\n"
2424
"PO-Revision-Date: 2017-02-16 23:33+0000\n"
2525
"Last-Translator: Yusuke Miyazaki <miyazaki.dev@gmail.com>, 2021\n"
2626
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -2014,13 +2014,13 @@ msgstr ""
20142014
#: ../../library/unittest.rst:1481
20152015
msgid ""
20162016
"It is responsible for calling all the cleanup functions added by "
2017-
":meth:`addCleanupClass`. If you need cleanup functions to be called *prior* "
2018-
"to :meth:`tearDownClass` then you can call :meth:`doCleanupsClass` yourself."
2017+
":meth:`addClassCleanup`. If you need cleanup functions to be called *prior* "
2018+
"to :meth:`tearDownClass` then you can call :meth:`doClassCleanups` yourself."
20192019
msgstr ""
20202020

20212021
#: ../../library/unittest.rst:1486
20222022
msgid ""
2023-
":meth:`doCleanupsClass` pops methods off the stack of cleanup functions one "
2023+
":meth:`doClassCleanups` pops methods off the stack of cleanup functions one "
20242024
"at a time, so it can be called at any time."
20252025
msgstr ""
20262026

0 commit comments

Comments
 (0)