Your IP : 216.73.216.213
�
e f� � @ s� d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m
Z
Gd d � d � Z Gd d
� d
e � Z
d d � Z d
d � Z d S)a�
c_annotations.py
~~~~~~~~~~~~~~~~
Supports annotations for C API elements:
* reference count annotations for C API functions. Based on
refcount.py and anno-api.py in the old Python documentation tools.
* stable API annotations
Usage: Set the `refcount_file` config value to the path to the reference
count data file.
:copyright: Copyright 2007-2014 by Georg Brandl.
:license: Python license.
� )�path)�nodes)�
directives)�addnodes)�CObjectc @ s e Z d Z d d � Z d S)�RCEntryc C s( | | _ g | _ d | _ d | _ d S)N� )�name�args�result_type�result_refs)�selfr � r �G/opt/alt/python34/lib64/python3.4/Doc/tools/extensions/c_annotations.py�__init__ s zRCEntry.__init__N)�__name__�
__module__�__qualname__r r r r r r s r c @ s. e Z d Z e d d � � Z d d � Z d S)�Annotationsc C sF | � } t | d � } zx| D]
} | j � } | d d � d
k rP q"