main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
316 bytes
|
Line | |
---|
1 | from .PropertySets import * |
---|
2 | from .Elements import * |
---|
3 | from .Styles import * |
---|
4 | from .Renderer import * |
---|
5 | from .Constants import PY2 |
---|
6 | |
---|
7 | if PY2: |
---|
8 | from cStringIO import StringIO as BytesIO |
---|
9 | else: |
---|
10 | from io import BytesIO |
---|
11 | |
---|
12 | def dumps(doc): |
---|
13 | s = BytesIO() |
---|
14 | r = Renderer() |
---|
15 | r.Write(doc, s) |
---|
16 | return s.getvalue() |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.