Skip to content

Commit 775250f

Browse files
authored
Merge pull request #364 from stevenhua0320/docs-fix
fix: fix import to right file in examples
2 parents 1033143 + 6d33a29 commit 775250f

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-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')

news/docs-fix.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* No News Added: Fix import in examples
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

0 commit comments

Comments
 (0)