# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2017, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , 2017. # msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-04-17 23:44+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Dong-gweon Oh \n" "Language-Team: Korean (https://python.flowdas.com)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" #: ../../c-api/iterator.rst:6 msgid "Iterator Objects" msgstr "이터레이터 객체" #: ../../c-api/iterator.rst:8 msgid "" "Python provides two general-purpose iterator objects. The first, a " "sequence iterator, works with an arbitrary sequence supporting the " ":meth:`~object.__getitem__` method. The second works with a callable " "object and a sentinel value, calling the callable for each item in the " "sequence, and ending the iteration when the sentinel value is returned." msgstr "" "파이썬은 두 개의 범용 이터레이터 객체를 제공합니다. 첫째, 시퀀스 이터레이터는 :meth:`~object.__getitem__` " "메서드를 지원하는 임의의 시퀀스와 작동합니다. 둘째는 콜러블 객체와 종료 신호(sentinel) 값을 사용하고, 시퀀스의 각 항목에" " 대해 콜러블을 호출하고, 종료 신호 값이 반환될 때 이터레이션을 종료합니다." #: ../../c-api/iterator.rst:17 msgid "" "Type object for iterator objects returned by :c:func:`PySeqIter_New` and " "the one-argument form of the :func:`iter` built-in function for built-in " "sequence types." msgstr "" ":c:func:`PySeqIter_New`\\와 내장 시퀀스 형에 대한 :func:`iter` 내장 함수의 단일 인자 형식에 의해 " "반환된 이터레이터 객체에 대한 형 객체." #: ../../c-api/iterator.rst:24 msgid "" "Return true if the type of *op* is :c:data:`PySeqIter_Type`. This " "function always succeeds." msgstr "*op*\\의 형이 :c:data:`PySeqIter_Type`\\이면 참을 돌려줍니다. 이 함수는 항상 성공합니다." #: ../../c-api/iterator.rst:30 msgid "" "Return an iterator that works with a general sequence object, *seq*. The" " iteration ends when the sequence raises :exc:`IndexError` for the " "subscripting operation." msgstr "" "일반 시퀀스 객체 *seq*\\와 함께 작동하는 이터레이터를 반환합니다. 시퀀스가 서브스크립션 연산에서 " ":exc:`IndexError`\\를 일으키면 이터레이션이 끝납니다." #: ../../c-api/iterator.rst:37 msgid "" "Type object for iterator objects returned by :c:func:`PyCallIter_New` and" " the two-argument form of the :func:`iter` built-in function." msgstr "" ":c:func:`PyCallIter_New`\\와 :func:`iter` 내장 함수의 두 인자 형식에 의해 반환된 이터레이터 객체에" " 대한 형 객체." #: ../../c-api/iterator.rst:43 msgid "" "Return true if the type of *op* is :c:data:`PyCallIter_Type`. This " "function always succeeds." msgstr "*op*\\의 형이 :c:data:`PyCallIter_Type`\\이면 참을 돌려줍니다. 이 함수는 항상 성공합니다." #: ../../c-api/iterator.rst:49 msgid "" "Return a new iterator. The first parameter, *callable*, can be any " "Python callable object that can be called with no parameters; each call " "to it should return the next item in the iteration. When *callable* " "returns a value equal to *sentinel*, the iteration will be terminated." msgstr "" "새로운 이터레이터를 돌려줍니다. 첫 번째 매개 변수 *callable*\\은 매개 변수 없이 호출할 수 있는 모든 파이썬 콜러블 " "객체일 수 있습니다; 각 호출은 이터레이션의 다음 항목을 반환해야 합니다. *callable*\\이 *sentinel*\\와 같은 " "값을 반환하면 이터레이션이 종료됩니다."