[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.140.13: ~ $
# $Id: references.py 7062 2011-06-30 22:14:29Z milde $
# Authors: David Goodger <goodger@python.org>; Dmitry Jemerov
# Copyright: This module has been placed in the public domain.

"""
Directives for references and targets.
"""

__docformat__ = 'reStructuredText'

from docutils import nodes
from docutils.transforms import references
from docutils.parsers.rst import Directive
from docutils.parsers.rst import directives


class TargetNotes(Directive):

    """Target footnote generation."""

    option_spec = {'class': directives.class_option,
                   'name': directives.unchanged}

    def run(self):
        pending = nodes.pending(references.TargetNotes)
        self.add_name(pending)
        pending.details.update(self.options)
        self.state_machine.document.note_pending(pending)
        return [pending]

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 14.31 KB 0644
admonitions.py File 2.35 KB 0644
body.py File 9.65 KB 0644
html.py File 695 B 0644
images.py File 6.64 KB 0644
misc.py File 25.69 KB 0644
parts.py File 4.15 KB 0644
references.py File 831 B 0644
tables.py File 23.27 KB 0644