OSDN Git Service

fix
[meshio/pymeshio.git] / pymeshio / pmx / writer.py
index 3ad89ca..4bf9692 100644 (file)
@@ -272,7 +272,7 @@ def write(ios, model, text_encoding=0):
             text field encoding (0: UTF16, 1:UTF-8).\r
 \r
     >>> import pymeshio.pmx.writer\r
-    >>> pymeshio.pmx.writer.write(io.open('out.pmx', 'wb'))\r
+    >>> pymeshio.pmx.writer.write(io.open('out.pmx', 'wb'), pmx)\r
 \r
     """\r
     assert(isinstance(ios, io.IOBase))\r