Add __all__

This commit is contained in:
Cédric Krier
2010-11-17 22:03:22 +01:00
parent ee427f1ec8
commit ea487dccfe
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
A library to access Tryton's models like a client.
'''
__version__ = "0.0.1"
__all__ = ['Model', 'Wizard']
from types import NoneType
import threading
import datetime
+1
View File
@@ -4,6 +4,7 @@
Configuration functions for the proteus package for Tryton.
"""
from __future__ import with_statement
__all__ = ['set_trytond', 'set_xmlrpc', 'get_config']
import xmlrpclib
import threading
from decimal import Decimal
+2
View File
@@ -1,5 +1,7 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
__all__ = ['PYSONEncoder', 'PYSONDecoder', 'Eval', 'Not', 'Bool', 'And', 'Or',
'Equal', 'Greater', 'Less', 'If', 'Get', 'In', 'Date', 'DateTime']
import sys
if sys.version_info < (2, 6):
import simplejson as json