.. vim: set fileencoding=utf-8: .. -*- coding: utf-8 -*- .. +--------------------------------------------------------------------------+ | | | Licensed under the Apache License, Version 2.0 (the "License"); | | you may not use this file except in compliance with the License. | | You may obtain a copy of the License at | | | | http://www.apache.org/licenses/LICENSE-2.0 | | | | Unless required by applicable law or agreed to in writing, software | | distributed under the License is distributed on an "AS IS" BASIS, | | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | See the License for the specific language governing permissions and | | limitations under the License. | | | +--------------------------------------------------------------------------+ Aliases =============================================================================== Abbreviated Aliases ------------------------------------------------------------------------------- The ``accretive.aaliases`` module provides abbreviated aliases for accretive data structures. These are convenient if you think the original names are too long or have a problem with typing capital letters. .. doctest:: AbbreviatedAliases >>> from accretive.aaliases import acdict, actype >>> from accretive import Class, Dictionary Abbreviated aliases are equivalent to the original classes. .. doctest:: AbbreviatedAliases >>> acdict is Dictionary True >>> actype is Class True Qualified Aliases ------------------------------------------------------------------------------- The ``accretive.qaliases`` module provides qualified aliases for accretive data structures. These are useful if you have conflicting names in the namespace into which you are trying to import. .. doctest:: QualifiedAliases >>> from accretive.qaliases import AccretiveDictionary, AccretiveNamespace >>> from accretive import Dictionary, Namespace Qualified aliases are equivalent to the original classes. .. doctest:: QualifiedAliases >>> AccretiveDictionary is Dictionary True >>> AccretiveNamespace is Namespace True