ó
jˆú\c           @   s1   d  Z  d Z i  Z i  Z e Z e Z d „  Z d S(   s  Miscellaneous mappings used to avoid circular imports.

Variables:

`class_name_dict`
    Node class name to class object mapping.
`class_id_dict`
    Class identifier to class object mapping.

Misc variables:

`__docformat__`
    The format of documentation strings in this module.

t   reStructuredTextc         C   sK   |  d k s |  d k r! d }  n  |  t k rC t d |  f ƒ ‚ n  t |  S(   sß   Get the node class matching the `classname`.

    If the name is not registered, a ``TypeError`` is raised.  The empty
    string and ``None`` are also accepted, and mean the ``Node`` class.

    .. versionadded:: 3.0

    t    t   Nodes.   there is no registered node class named ``%s``N(   t   Nonet   class_name_dictt	   TypeError(   t	   classname(    (    s.   lib/python2.7/site-packages/tables/registry.pyt   get_class_by_nameF   s    	N(   t   __doc__t   __docformat__R   t   class_id_dictt   classNameDictt   classIdDictR   (    (    (    s.   lib/python2.7/site-packages/tables/registry.pyt   <module>   s   