mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
parent
174bc1e309
commit
b67596d815
4 changed files with 36 additions and 4 deletions
|
@ -226,3 +226,9 @@ class ABCMeta(type):
|
|||
# No dice; update negative cache
|
||||
cls._abc_negative_cache.add(subclass)
|
||||
return False
|
||||
|
||||
class ABC(metaclass=ABCMeta):
|
||||
"""Helper class that provides a standard way to create an ABC using
|
||||
inheritance.
|
||||
"""
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue