Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Classe « BufferedProtocol » Python 3.13.2

Méthode asyncio.BufferedProtocol.get_buffer

Signature de la méthode get_buffer

def get_buffer(self, sizehint) 

Description

help(BufferedProtocol.get_buffer)

Called to allocate a new receive buffer.

*sizehint* is a recommended minimal size for the returned
buffer.  When set to -1, the buffer size can be arbitrary.

Must return an object that implements the
:ref:`buffer protocol <bufferobjects>`.
It is an error to return a zero-sized buffer.


Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé