Skip to content

Commit e3fa080

Browse files
committed
fix python2 style prints
1 parent 0aa3a68 commit e3fa080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/io.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ An IO module can be based on a single file, a directory containing files, or a d
6363
This is described in the :attr:`mode` attribute of the IO class.
6464

6565
>>> from neo.io import MyFormatIO
66-
>>> print MyFormatIO.mode
66+
>>> print(MyFormatIO.mode)
6767
'file'
6868

6969

@@ -105,7 +105,7 @@ The first element of the previous list is the highest level for reading the file
105105
All IOs have a read() method that returns a list of :class:`Block` objects (representing the whole content of the file)::
106106

107107
>>> bl = reader.read()
108-
>>> print bl[0].segments[0]
108+
>>> print(bl[0].segments[0])
109109
neo.core.Segment
110110

111111

0 commit comments

Comments
 (0)