Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Improve and correct the comment explaining BackendMeta (#516)
Browse files Browse the repository at this point in the history
Improve and correct the comment explaining BackendMeta
  • Loading branch information
trickeydan committed Jan 28, 2020
2 parents e235b18 + 59022ef commit 41482da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions j5/backends/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ class BackendMeta(ABCMeta):
"""
The metaclass for a backend.
Responsible for registering the board-backend mapping with an Environment.
Ensures that the backend implements the correct interfaces
when instantiated. It does this by checking that the class
inherits from the interface classes defined on the Components
in backend.board.supported_components.
"""

def __new__(mcs, name, bases, namespace, **kwargs): # type:ignore
Expand Down

0 comments on commit 41482da

Please sign in to comment.