@@ -1215,9 +1215,8 @@ msgid "This is used in several places in the standard library, like this::"
12151215msgstr "이것은 다음과 같이 표준 라이브러리의 여러 곳에서 사용됩니다::"
12161216
12171217#: ../Doc/faq/programming.rst:945
1218- #, fuzzy
12191218msgid "Use :func:`locals` to resolve the function name::"
1220- msgstr "함수 이름을 해석(resolve)하려면 :func:`locals`\\ 나 :func:`eval` \\ 을 사용하십시오::"
1219+ msgstr "함수 이름을 해석(resolve)하려면 :func:`locals`\\ 를 사용하십시오::"
12211220
12221221#: ../Doc/faq/programming.rst:957
12231222msgid ""
@@ -1511,9 +1510,8 @@ msgid "How do I iterate over a sequence in reverse order?"
15111510msgstr "시퀀스를 역순으로 이터레이트 하려면 어떻게 합니까?"
15121511
15131512#: ../Doc/faq/programming.rst:1119
1514- #, fuzzy
15151513msgid "Use the :func:`reversed` built-in function::"
1516- msgstr "파이썬 2.4에서 새로 도입된 :func:`reversed` 내장 함수를 사용하십시오::"
1514+ msgstr ":func:`reversed` 내장 함수를 사용하십시오::"
15171515
15181516#: ../Doc/faq/programming.rst:1124
15191517msgid ""
@@ -1554,9 +1552,8 @@ msgid ""
15541552msgstr "이것은 리스트를 집합으로 변환하여, 중복을 제거한 다음, 리스트로 되돌립니다."
15551553
15561554#: ../Doc/faq/programming.rst:1157
1557- #, fuzzy
15581555msgid "How do you remove multiple items from a list"
1559- msgstr "리스트에서 중복을 어떻게 제거합니까?"
1556+ msgstr "리스트에서 여러 항목을 어떻게 제거합니까?"
15601557
15611558#: ../Doc/faq/programming.rst:1159
15621559msgid ""
@@ -1565,11 +1562,12 @@ msgid ""
15651562" use slice replacement with an implicit or explicit forward iteration. "
15661563"Here are three variations.::"
15671564msgstr ""
1565+ "중복 제거와 마찬가지로, 삭제 조건을 사용하여 명시적으로 역순으로 이터레이션 하는 것도 한 가지 가능성입니다. 그러나, 묵시적이나 "
1566+ "명시적 순방향 이터레이션으로 슬라이스 치환을 사용하기가 더 쉽고 빠릅니다. 다음은 세 가지 변형입니다.::"
15681567
15691568#: ../Doc/faq/programming.rst:1168
1570- #, fuzzy
15711569msgid "The list comprehension may be fastest."
1572- msgstr "리스트 컴프리헨션을 사용하십시오:: "
1570+ msgstr "리스트 컴프리헨션이 아마 가장 빠릅니다. "
15731571
15741572#: ../Doc/faq/programming.rst:1172
15751573msgid "How do you make an array in Python?"
@@ -2002,6 +2000,8 @@ msgid ""
20022000"(e.g. depending on availability of resources) which base class to use. "
20032001"Example::"
20042002msgstr ""
2003+ "베이스 클래스를 별칭에 대입하고 별칭에서 파생할 수 있습니다. 그러면 별칭에 대입된 값만 변경하면 됩니다. 또한 이 트릭은 사용할 "
2004+ "베이스 클래스를 동적으로 (예를 들어 자원의 가용성에 따라) 결정하려는 경우에도 유용합니다. 예::"
20052005
20062006#: ../Doc/faq/programming.rst:1531
20072007msgid "How do I create static class data and static class methods?"
@@ -2521,69 +2521,3 @@ msgid ""
25212521" of the class objects::"
25222522msgstr "클래스 객체의 \" 아이덴티티\" 를 인쇄하면 문제의 본질이 분명해집니다::"
25232523
2524- #~ msgid ""
2525- #~ "Note: Using :func:`eval` is slow and "
2526- #~ "dangerous. If you don't have absolute"
2527- #~ " control over the contents of the "
2528- #~ "string, someone could pass a string "
2529- #~ "that resulted in an arbitrary function"
2530- #~ " being executed."
2531- #~ msgstr ""
2532- #~ "참고: :func:`eval`\\을 사용하면 느리고 위험합니다. 문자열의"
2533- #~ " 내용에 대한 절대적인 제어권이 없다면, 누군가가 "
2534- #~ "문자열을 전달하여 임의의 함수가 실행될 수 있습니다."
2535-
2536- #~ msgid "With Python 2.3, you can use an extended slice syntax::"
2537- #~ msgstr "파이썬 2.3에서는, 확장 슬라이스 문법을 사용할 수 있습니다::"
2538-
2539- #~ msgid "An alternative for the last step is::"
2540- #~ msgstr "마지막 단계의 대안은 다음과 같습니다::"
2541-
2542- #~ msgid ""
2543- #~ "If you find this more legible, you"
2544- #~ " might prefer to use this instead "
2545- #~ "of the final list comprehension. "
2546- #~ "However, it is almost twice as "
2547- #~ "slow for long lists. Why? First, "
2548- #~ "the ``append()`` operation has to "
2549- #~ "reallocate memory, and while it uses "
2550- #~ "some tricks to avoid doing that "
2551- #~ "each time, it still has to do "
2552- #~ "it occasionally, and that costs quite"
2553- #~ " a bit. Second, the expression "
2554- #~ "\"result.append\" requires an extra attribute"
2555- #~ " lookup, and third, there's a speed"
2556- #~ " reduction from having to make all"
2557- #~ " those function calls."
2558- #~ msgstr ""
2559- #~ "이것이 더 읽기 쉬운 것으로 판단되면, 최종 리스트"
2560- #~ " 컴프리헨션 대신 이것을 사용하는 것이 좋습니다. "
2561- #~ "그러나, 긴 리스트의 경우 거의 두 배 느립니다."
2562- #~ " 왜 그럴까요? 첫째로, ``append()`` 연산은 메모리를"
2563- #~ " 재할당해야 하며, 매번 그렇게 하지 않기 위해 "
2564- #~ "몇 가지 트릭을 사용하지만, 여전히 가끔 수행해야 "
2565- #~ "하며 비용이 많이 듭니다. 두 번째로, "
2566- #~ "\"result.append\" 표현식은 추가 어트리뷰트 조회가 "
2567- #~ "필요하며, 세 번째로, 이 모든 함수 호출을 "
2568- #~ "수행해야 해서 속도가 줄어듭니다."
2569-
2570- #~ msgid ""
2571- #~ "You could define an alias for the"
2572- #~ " base class, assign the real base "
2573- #~ "class to it before your class "
2574- #~ "definition, and use the alias throughout"
2575- #~ " your class. Then all you have "
2576- #~ "to change is the value assigned to"
2577- #~ " the alias. Incidentally, this trick "
2578- #~ "is also handy if you want to "
2579- #~ "decide dynamically (e.g. depending on "
2580- #~ "availability of resources) which base "
2581- #~ "class to use. Example::"
2582- #~ msgstr ""
2583- #~ "베이스 클래스의 별칭을 정의하고, 클래스 정의 전에 "
2584- #~ "실제 베이스 클래스를 대입한 후 클래스 전체에서 "
2585- #~ "별칭을 사용할 수 있습니다. 그러면 별칭에 대입된 "
2586- #~ "값만 변경하면 됩니다. 또한 이 트릭은 사용할 "
2587- #~ "베이스 클래스를 동적으로 (예를 들어 자원의 가용성에 "
2588- #~ "따라) 결정하려는 경우에도 유용합니다. 예::"
2589-
0 commit comments