plq · GitHub

Merged

Merged

Conversation

@plq

@plq plq changed the title Implement IncrementalWriter.method() Add method keyword to _IncrementalWriter.element()

Jan 5, 2017

@plq

@plq plq changed the title Add method keyword to _IncrementalWriter.element() Two more ways to change output method temporarily

Jan 6, 2017

scoder

self._handle_error(self._c_out.error)

def method(self, method):
"""element(self, tag, attrib=None, nsmap=None, **_extra)
def __cinit__(self, _IncrementalFileWriter writer not None, int method):
self._writer = writer
self._new_method = method
self._old_method = writer._method
… a context manager without having to write an element

@plq

@plq

# Conflicts:
#	src/lxml/serializer.pxi

@scoder

plq added a commit to plq/neurons that referenced this pull request

Feb 28, 2017

Labels

None yet

Read the original on github.com ↗