您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

14 行
629 B

  1. from .utils import (delegate_to_executor, proxy_property_directly,
  2. proxy_method_directly)
  3. from ..base import AsyncBase
  4. @delegate_to_executor('close', 'flush', 'isatty', 'read', 'readable',
  5. 'readline', 'readlines', 'seek', 'seekable', 'tell',
  6. 'truncate', 'write', 'writable', 'writelines')
  7. @proxy_method_directly('detach', 'fileno', 'readable')
  8. @proxy_property_directly('buffer', 'closed', 'encoding', 'errors',
  9. 'line_buffering', 'newlines')
  10. class AsyncTextIOWrapper(AsyncBase):
  11. """The asyncio executor version of io.TextIOWrapper."""