Français
Ouvrir dans Telegram

Fil de discussion Under pep 255:

8 messages · –
A
Lien
cliquez pour afficher
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 · groupe · Technologie
4 287membres21écrivent en 30 jours
Fil de la communauté Ouvrir dans Telegram

Un fil public ouvert issu de l'index de recherche ChatCrawler — « le Google du Telegram public » ; actualisé à mesure que la communauté est explorée. Les heures sont en UTC.

Contenu public uniquement, API officielle de Telegram. À propos · FAQ · Limites de l'index · Retirer une page · Catalogue · Recherche · Comment nous comptons