Add copyright header and __all__ to accounting_none.py

pull/189/head
Stéphane Bidoul 2016-03-13 22:56:39 +01:00
parent f334f31a3e
commit 29085160c1
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
# © 2016 Thomas Binsfeld
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
"""
Provides the AccountingNone singleton
Provides the AccountingNone singleton.
AccountingNone is a null value that dissolves in basic arithmetic operations,
as illustrated in the examples below. In comparisons, AccountingNone behaves
@ -82,6 +83,8 @@ True
True
"""
__all__ = ['AccountingNone']
class AccountingNoneType(object):