Skip to content

Commit 096ac06

Browse files
committed
Closes #558 - update reference/datamodel.po to reflect recent changes
1 parent 647c614 commit 096ac06

File tree

1 file changed

+6
-90
lines changed

1 file changed

+6
-90
lines changed

reference/datamodel.po

Lines changed: 6 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
55
#
6-
#, fuzzy
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: Python 3.6\n"
@@ -965,7 +964,6 @@ msgid "Generator functions"
965964
msgstr "제너레이터 함수(Generator functions)"
966965

967966
#: ../Doc/reference/datamodel.rst:618
968-
#, fuzzy
969967
msgid ""
970968
"A function or method which uses the :keyword:`yield` statement (see "
971969
"section :ref:`yield`) is called a :dfn:`generator function`. Such a "
@@ -980,7 +978,7 @@ msgstr ""
980978
":keyword:`yield` 문(:ref:`yield` 절 참조)을 사용하는 함수나 메서드를 :dfn:`제너레이터 함수 "
981979
"(generator function)` 라고 부릅니다. 이런 함수를 호출하면 항상 이터레이터(iterator) 객체를 돌려주는데, "
982980
"함수의 바디(body)를 실행하는 데 사용됩니다: 이터레이터의 :meth:`iterator.__next__` 메서드를 호출하면 "
983-
":keyword:`yield` 문이 값을 제공할 때까지 함수가 실행됩니다. 함수가 :keyword:`return` 문을 실행하거나 "
981+
":keyword:`!yield` 문이 값을 제공할 때까지 함수가 실행됩니다. 함수가 :keyword:`return` 문을 실행하거나 "
984982
"끝에 도달하면 :exc:`StopIteration` 예외를 일으키고, 이터레이터는 반환하는 값들의 끝에 도달하게 됩니다."
985983

986984
#: ../Doc/reference/datamodel.rst:636
@@ -1113,7 +1111,7 @@ msgid ""
11131111
"in this dictionary, e.g., ``m.x`` is equivalent to ``m.__dict__[\"x\"]``."
11141112
" A module object does not contain the code object used to initialize the "
11151113
"module (since it isn't needed once the initialization is done)."
1116-
msgstr ""
1114+
msgstr "모듈은 파이썬 코드의 기본적인 조직화 단위이고, :keyword:`import` 문이나, :func:`importlib.import_module` 과 내장 :func:`__import__` 함수를 호출해서 구동할 수 있는 :ref:`임포트 시스템 <importsystem>` 에 의해 만들어집니다. 모듈 객체는 딕셔너리 객체로 구현되는 이름 공간을 갖습니다(이 딕셔너리 객체는 모듈에서 정의되는 함수들의 ``__globals__`` 어트리뷰트로 참조됩니다). 어트리뷰트 참조는 이 딕셔너리에 대한 조회로 변환됩니다. 예를 들어, ``m.x`` 는 ``m.__dict__[\"x\"]`` 와 같습니다. 모듈 객체는 모듈을 초기화하는데 사용된 코드 객체를 갖고 있지 않습니다 (일단 초기화가 끝나면 필요 없으므로)."
11171115

11181116
#: ../Doc/reference/datamodel.rst:713
11191117
msgid ""
@@ -2174,13 +2172,12 @@ msgstr ""
21742172
" http://www.ocert.org/advisories/ocert-2011-003.html 에 있습니다."
21752173

21762174
#: ../Doc/reference/datamodel.rst:1455
2177-
#, fuzzy
21782175
msgid ""
21792176
"Changing hash values affects the iteration order of sets. Python has "
21802177
"never made guarantees about this ordering (and it typically varies "
21812178
"between 32-bit and 64-bit builds)."
21822179
msgstr ""
2183-
"해시값의 변경은 딕셔너리와 집합과 그 밖의 다른 매핑들의 이터레이션 순서에 영향을 줍니다, 파이썬은 이 순서에 대해 어떤 보장도 "
2180+
"해시값의 변경은 집합의 이터레이션 순서에 영향을 줍니다, 파이썬은 이 순서에 대해 어떤 보장도 "
21842181
"하지 않습니다 (그리고 보통 32-bit 와 64-bit 빌드 사이에서도 다릅니다)."
21852182

21862183
#: ../Doc/reference/datamodel.rst:1459
@@ -3064,9 +3061,8 @@ msgid "Describes the implicit ``__class__`` closure reference"
30643061
msgstr "묵시적인 \\__class__ 클로저 참조를 설명합니다"
30653062

30663063
#: ../Doc/reference/datamodel.rst:2003
3067-
#, fuzzy
30683064
msgid "Uses for metaclasses"
3069-
msgstr "메타 클래스"
3065+
msgstr "메타 클래스의 용도"
30703066

30713067
#: ../Doc/reference/datamodel.rst:2005
30723068
msgid ""
@@ -3594,7 +3590,6 @@ msgid "With Statement Context Managers"
35943590
msgstr "with 문 컨텍스트 관리자"
35953591

35963592
#: ../Doc/reference/datamodel.rst:2423
3597-
#, fuzzy
35983593
msgid ""
35993594
"A :dfn:`context manager` is an object that defines the runtime context to"
36003595
" be established when executing a :keyword:`with` statement. The context "
@@ -3606,7 +3601,7 @@ msgid ""
36063601
msgstr ""
36073602
":dfn:`컨텍스트 관리자 (context manager)` 는 :keyword:`with` 문을 실행할 때 자리 잡는 실행 "
36083603
"컨텍스트(context)를 정의하는 객체입니다. 코드 블록의 실행을 위해, 컨텍스트 관리자는 원하는 실행시간 컨텍스트로의 진입과 "
3609-
"탈출을 처리합니다. 컨텍스트 관리자는 보통 :keyword:`with` 문(:ref:`with` 섹션에서 설명합니다)으로 "
3604+
"탈출을 처리합니다. 컨텍스트 관리자는 보통 :keyword:`!with` 문(:ref:`with` 섹션에서 설명합니다)으로 "
36103605
"시작되지만, 그들의 메서드를 호출해서 직접 사용할 수도 있습니다."
36113606

36123607
#: ../Doc/reference/datamodel.rst:2434
@@ -3623,13 +3618,12 @@ msgid "For more information on context managers, see :ref:`typecontextmanager`."
36233618
msgstr "컨텍스트 관리자에 대한 더 자세한 정보는 :ref:`typecontextmanager` 에 나옵니다."
36243619

36253620
#: ../Doc/reference/datamodel.rst:2442
3626-
#, fuzzy
36273621
msgid ""
36283622
"Enter the runtime context related to this object. The :keyword:`with` "
36293623
"statement will bind this method's return value to the target(s) specified"
36303624
" in the :keyword:`!as` clause of the statement, if any."
36313625
msgstr ""
3632-
"이 객체와 연관된 실행시간 컨텍스트에 진입합니다. :keyword:`with` 문은 :keyword:`as` 절로 지정된 대상이 "
3626+
"이 객체와 연관된 실행시간 컨텍스트에 진입합니다. :keyword:`with` 문은 :keyword:`!as` 절로 지정된 대상이 "
36333627
"있다면, 이 메서드의 반환 값을 연결합니다."
36343628

36353629
#: ../Doc/reference/datamodel.rst:2449
@@ -3982,81 +3976,3 @@ msgid ""
39823976
msgstr ""
39833977
"피연산자들이 같은 형이면, 뒤집히지 않은 메서드(:meth:`__add__` 같은)가 실패하면 그 연산이 지원되지 않는 것으로 "
39843978
"간주합니다. 이것이 뒤집힌 메서드가 호출되지 않는 이유입니다."
3985-
3986-
#~ msgid ""
3987-
#~ "Modules are a basic organizational unit"
3988-
#~ " of Python code, and are created "
3989-
#~ "by the :ref:`import system <importsystem>` "
3990-
#~ "as invoked either by the "
3991-
#~ ":keyword:`import` statement (see :keyword:`import`),"
3992-
#~ " or by calling functions such as "
3993-
#~ ":func:`importlib.import_module` and built-in "
3994-
#~ ":func:`__import__`. A module object has "
3995-
#~ "a namespace implemented by a dictionary"
3996-
#~ " object (this is the dictionary "
3997-
#~ "referenced by the ``__globals__`` attribute"
3998-
#~ " of functions defined in the module)."
3999-
#~ " Attribute references are translated to"
4000-
#~ " lookups in this dictionary, e.g., "
4001-
#~ "``m.x`` is equivalent to "
4002-
#~ "``m.__dict__[\"x\"]``. A module object does"
4003-
#~ " not contain the code object used "
4004-
#~ "to initialize the module (since it "
4005-
#~ "isn't needed once the initialization is"
4006-
#~ " done)."
4007-
#~ msgstr ""
4008-
#~ "모듈은 파이썬 코드의 기본적인 조직화 단위이고, "
4009-
#~ ":keyword:`import` 문(:keyword:`import` 를 참고)이나, "
4010-
#~ ":func:`importlib.import_module` 과 내장 "
4011-
#~ ":func:`__import__` 함수를 호출해서 구동할 수 있는 "
4012-
#~ ":ref:`임포트 시스템 <importsystem>` 에 의해 "
4013-
#~ "만들어집니다. 모듈 객체는 딕셔너리 객체로 구현되는 이름"
4014-
#~ " 공간을 갖습니다(이 딕셔너리 객체는 모듈에서 정의되는 "
4015-
#~ "함수들의 ``__globals__`` 어트리뷰트로 참조됩니다). 어트리뷰트 "
4016-
#~ "참조는 이 딕셔너리에 대한 조회로 변환됩니다. 예를 "
4017-
#~ "들어, ``m.x`` 는 ``m.__dict__[\"x\"]`` 와 "
4018-
#~ "같습니다. 모듈 객체는 모듈을 초기화하는데 사용된 코드 "
4019-
#~ "객체를 갖고 있지 않습니다 (일단 초기화가 끝나면 "
4020-
#~ "필요 없으므로)."
4021-
4022-
#~ msgid "Metaclass example"
4023-
#~ msgstr "메타 클래스 예제"
4024-
4025-
#~ msgid ""
4026-
#~ "Here is an example of a metaclass"
4027-
#~ " that uses an :class:`collections.OrderedDict`"
4028-
#~ " to remember the order that class "
4029-
#~ "variables are defined::"
4030-
#~ msgstr ""
4031-
#~ "여기, 클래스 변수가 정의된 순서를 기억하기 위해 "
4032-
#~ ":class:`collections.OrderedDict` 를 사용하는 메타 "
4033-
#~ "클래스의 예가 있습니다::"
4034-
4035-
#~ msgid ""
4036-
#~ "When the class definition for *A* "
4037-
#~ "gets executed, the process begins with"
4038-
#~ " calling the metaclass's :meth:`__prepare__` "
4039-
#~ "method which returns an empty "
4040-
#~ ":class:`collections.OrderedDict`. That mapping "
4041-
#~ "records the methods and attributes of"
4042-
#~ " *A* as they are defined within "
4043-
#~ "the body of the class statement. "
4044-
#~ "Once those definitions are executed, the"
4045-
#~ " ordered dictionary is fully populated "
4046-
#~ "and the metaclass's :meth:`__new__` method "
4047-
#~ "gets invoked. That method builds the"
4048-
#~ " new type and it saves the "
4049-
#~ "ordered dictionary keys in an attribute"
4050-
#~ " called ``members``."
4051-
#~ msgstr ""
4052-
#~ "*A* 의 클래스 정의가 실행될 때, 프로세스는 "
4053-
#~ "메타 클래스의 :meth:`__prepare__` 를 호출하는 것으로"
4054-
#~ " 시작하는데, 빈 :class:`collections.OrderedDict` 를 "
4055-
#~ "돌려줍니다. 이 매핑은 *A* 의 메서드와 어트리뷰트들을"
4056-
#~ " 클래스 문의 바디에 정의된 데로 기록합니다. 일단"
4057-
#~ " 그 정의들이 실행되면, 순서 있는 딕셔너리는 모두"
4058-
#~ " 채워지고, 메타 클래스의 :meth:`__new__` 메서드가 "
4059-
#~ "호출됩니다. 이 메서드가 새 형을 만들고, 순서 "
4060-
#~ "있는 딕셔너리의 키들은 ``members`` 라 불리는 "
4061-
#~ "어트리뷰트에 저장됩니다."
4062-

0 commit comments

Comments
 (0)