diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-28 17:49:28 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-28 17:58:46 +0300 |
commit | 05f1a7bca5400633bcb52b58affe23880df1fd0e (patch) | |
tree | 87744c3c5cb786fddbe15004779b941988a0b7d7 /contrib/python/zope.interface/py3/zope/interface/common/builtins.py | |
parent | dc1a94ab8d6985d2dcf888fa1881e7b80f7042b1 (diff) | |
download | ydb-05f1a7bca5400633bcb52b58affe23880df1fd0e.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python/zope.interface/py3/zope/interface/common/builtins.py')
-rw-r--r-- | contrib/python/zope.interface/py3/zope/interface/common/builtins.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/python/zope.interface/py3/zope/interface/common/builtins.py b/contrib/python/zope.interface/py3/zope/interface/common/builtins.py index 6e13e06482..09de5b3b2f 100644 --- a/contrib/python/zope.interface/py3/zope/interface/common/builtins.py +++ b/contrib/python/zope.interface/py3/zope/interface/common/builtins.py @@ -35,6 +35,7 @@ __all__ = [ 'IFile', ] + # pylint:disable=no-self-argument class IList(collections.IMutableSequence): """ @@ -86,6 +87,8 @@ class INativeString(ITextString): On all Python versions, this is :class:`str`. Tt extends :class:`ITextString`. """ + + # We're not extending ABCInterface so extra_classes won't work classImplements(str, INativeString) @@ -108,8 +111,8 @@ class IFile(io.IIOBase): """ Interface for :class:`file`. - It is recommended to use the interfaces from :mod:`zope.interface.common.io` - instead of this interface. + It is recommended to use the interfaces from + :mod:`zope.interface.common.io` instead of this interface. On Python 3, there is no single implementation of this interface; depending on the arguments, the :func:`open` builtin can return |