##// END OF EJS Templates
Removed bad comment
Jonathan Frederic -
Show More
@@ -1,37 +1,35 b''
1 #!/usr/bin/env python
1 #!/usr/bin/env python
2 """
2 """
3 Contains Stdout writer
3 Contains Stdout writer
4 """
4 """
5 #-----------------------------------------------------------------------------
5 #-----------------------------------------------------------------------------
6 #Copyright (c) 2013, the IPython Development Team.
6 #Copyright (c) 2013, the IPython Development Team.
7 #
7 #
8 #Distributed under the terms of the Modified BSD License.
8 #Distributed under the terms of the Modified BSD License.
9 #
9 #
10 #The full license is in the file COPYING.txt, distributed with this software.
10 #The full license is in the file COPYING.txt, distributed with this software.
11 #-----------------------------------------------------------------------------
11 #-----------------------------------------------------------------------------
12
12
13 #-----------------------------------------------------------------------------
13 #-----------------------------------------------------------------------------
14 # Imports
14 # Imports
15 #-----------------------------------------------------------------------------
15 #-----------------------------------------------------------------------------
16
16
17 from .base import WriterBase
17 from .base import WriterBase
18
18
19 #-----------------------------------------------------------------------------
19 #-----------------------------------------------------------------------------
20 # Classes
20 # Classes
21 #-----------------------------------------------------------------------------
21 #-----------------------------------------------------------------------------
22
22
23 class StdoutWriter(WriterBase):
23 class StdoutWriter(WriterBase):
24 """Consumes output from nbconvert export...() methods and writes to the
24 """Consumes output from nbconvert export...() methods and writes to the
25 stdout stream. Allows for quick debuging of nbconvert output. Using the
25 stdout stream."""
26 debug flag makes the writer pretty-print the figures contained within the
27 notebook."""
28
26
29
27
30 def write(self, output, resources, **kw):
28 def write(self, output, resources, **kw):
31 """
29 """
32 Consume and write Jinja output.
30 Consume and write Jinja output.
33
31
34 See base for more...
32 See base for more...
35 """
33 """
36
34
37 print(output)
35 print(output)
General Comments 0
You need to be logged in to leave comments. Login now