Italiano
Apri in Telegram

Conversazione Under pep 255:

8 messaggi · –
A
Link
tocca per mostrare
Under pep 255: When a generator function is called, the actual arguments are bound to function-local formal argument names in the usual way, but no code in the body of the function is executed. Instead a generator-iterator object is returned; this conforms to the iterator protocol, so in particular can be used in for-loops in a natural way. Note that when the intent is clear from context, the unqualified name "generator" may be used to refer either to a generator-function or a generator-iterator.
  1. M
    در واقع تا زمانی که ایتریت نشه اون تابع اصلا فرواخوانی نمیشه درسته؟
      1. M
        یه سوال این چیزارو بر اساس تجربه متوجه شدید؟ یعنی به این مشکل خوردید و رفتید سرچ کردید و متوجه شدید یا کلا از اول از داکیومنت خوندید برای همین میدونید؟
          1. M
            ببخشید ولی اگر میشه منبع هایی که استفاده کردی برای asyncio معرفی کن خیلی هم ممنون بابت راهنمایی ها
PPython + Linux ExpertsPython + Linux Experts@PythonLinuxExperts · gruppo · Tecnologia
4 287membri21scrivono in 30 giorni
Feed della community Apri in Telegram

Un feed pubblico aperto dall'indice di ricerca ChatCrawler — «Google per il Telegram pubblico»; si aggiorna man mano che la community viene scansionata. Orari in UTC.

Solo contenuti pubblici, API ufficiale di Telegram. Informazioni · FAQ · Limiti dell'indice · Rimuovi una pagina · Catalogo · Ricerca · Come calcoliamo