Skip to content

Commit a3e4a10

Browse files
committed
fix: fix import to right file in examples
1 parent 30407bf commit a3e4a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/examples/parsers_example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ returns an empty list.
6969

7070
.. code-block:: python
7171
72-
from diffpy.utils.parsers.loaddata import serialize_data
72+
from diffpy.utils.parsers.serialization import serialize_data
7373
file_data = serialize_data('<PATH to data.txt', hdata, data_table)
7474
# File data is a dictionary with a single key
7575
# The key is the file name (in our case, 'data.txt')

0 commit comments

Comments
 (0)