spdx_tools.spdx.model.spdx_none

 1# SPDX-FileCopyrightText: 2022 spdx contributors
 2#
 3# SPDX-License-Identifier: Apache-2.0
 4
 5SPDX_NONE_STRING = "NONE"
 6
 7
 8class SpdxNone:
 9    """
10    Represents the SPDX NONE value.
11    """
12
13    def __str__(self):
14        return SPDX_NONE_STRING
15
16    def __repr__(self):
17        return SPDX_NONE_STRING
18
19    def __eq__(self, other):
20        return isinstance(other, SpdxNone)
SPDX_NONE_STRING = 'NONE'
class SpdxNone:
 9class SpdxNone:
10    """
11    Represents the SPDX NONE value.
12    """
13
14    def __str__(self):
15        return SPDX_NONE_STRING
16
17    def __repr__(self):
18        return SPDX_NONE_STRING
19
20    def __eq__(self, other):
21        return isinstance(other, SpdxNone)

Represents the SPDX NONE value.