spdx_tools.spdx3.model.licensing.license_field

 1# SPDX-FileCopyrightText: 2023 spdx contributors
 2#
 3# SPDX-License-Identifier: Apache-2.0
 4from abc import ABC, abstractmethod
 5
 6
 7class LicenseField(ABC):
 8    @abstractmethod
 9    def __init__(self):
10        pass
class LicenseField(abc.ABC):
 8class LicenseField(ABC):
 9    @abstractmethod
10    def __init__(self):
11        pass

Helper class that provides a standard way to create an ABC using inheritance.