Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

io.py 1.2KB

1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ##############################################################################
  2. # Copyright (c) 2020 Zope Foundation and Contributors.
  3. # All Rights Reserved.
  4. #
  5. # This software is subject to the provisions of the Zope Public License,
  6. # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
  7. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
  8. # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  9. # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
  10. # FOR A PARTICULAR PURPOSE.
  11. ##############################################################################
  12. """
  13. Interface definitions paralleling the abstract base classes defined in
  14. :mod:`io`.
  15. After this module is imported, the standard library types will declare
  16. that they implement the appropriate interface.
  17. .. versionadded:: 5.0.0
  18. """
  19. import io as abc
  20. from zope.interface.common import ABCInterface
  21. # pylint:disable=inherit-non-class,
  22. # pylint:disable=no-member
  23. class IIOBase(ABCInterface):
  24. abc = abc.IOBase
  25. class IRawIOBase(IIOBase):
  26. abc = abc.RawIOBase
  27. class IBufferedIOBase(IIOBase):
  28. abc = abc.BufferedIOBase
  29. extra_classes = ()
  30. class ITextIOBase(IIOBase):
  31. abc = abc.TextIOBase