Did I find the right examples for you? yes no

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/p/y/python-creole-1.1.1/creole/html2creole/emitter.py   python-creole(Download)
    def p_emit(self, node):
        result = self.emit_children(node)
        if self._inner_list == "":
            result += "\n\n"
        return result
    def headline_emit(self, node):
        return "%s %s\n\n" % ("=" * node.level, self.emit_children(node))
 
    #--------------------------------------------------------------------------
 
    def a_emit(self, node):
        link_text = self.emit_children(node)
        try:
            url = node.attrs["href"]
        except KeyError:

src/p/y/python-creole-HEAD/creole/html2creole/emitter.py   python-creole(Download)
    def p_emit(self, node):
        result = self.emit_children(node)
        if self._inner_list == "":
            result += "\n\n"
        return result
    def headline_emit(self, node):
        return "%s %s\n\n" % ("=" * node.level, self.emit_children(node))
 
    #--------------------------------------------------------------------------
 
    def a_emit(self, node):
        link_text = self.emit_children(node)
        try:
            url = node.attrs["href"]
        except KeyError:

src/p/y/python-creole-1.1.1/creole/html2textile/emitter.py   python-creole(Download)
    def p_emit(self, node):
        return "%s\n\n" % self.emit_children(node)
 
    def headline_emit(self, node):
        return "h%i. %s\n\n" % (node.level, self.emit_children(node))
 
    #--------------------------------------------------------------------------
 
    def _typeface(self, node, key):
        return key + self.emit_children(node) + key
    def a_emit(self, node):
        link_text = self.emit_children(node)
        url = node.attrs["href"]
        return '"%s":%s' % (link_text, url)
 

src/p/y/python-creole-HEAD/creole/html2textile/emitter.py   python-creole(Download)
    def p_emit(self, node):
        return "%s\n\n" % self.emit_children(node)
 
    def headline_emit(self, node):
        return "h%i. %s\n\n" % (node.level, self.emit_children(node))
 
    #--------------------------------------------------------------------------
 
    def _typeface(self, node, key):
        return key + self.emit_children(node) + key
    def a_emit(self, node):
        link_text = self.emit_children(node)
        url = node.attrs["href"]
        return '"%s":%s' % (link_text, url)