##// END OF EJS Templates
A few modification to fix docs passing....
Matthias Bussonnier -
Show More
@@ -177,7 +177,13 b' else:'
177 177 # may have trouble processing.
178 178 MATCHES_LIMIT = 500
179 179
180 _deprecation_readline_sentinel = object()
180
181 class Sentinel:
182 def __repr__(self):
183 return "<deprecated sentinel>"
184
185
186 _deprecation_readline_sentinel = Sentinel()
181 187
182 188
183 189 class ProvisionalCompleterWarning(FutureWarning):
@@ -3004,7 +3004,7 b' class InteractiveShell(SingletonConfigurable):'
3004 3004 result: bool
3005 3005 Whether the code needs to be run with a coroutine runner or not
3006 3006
3007 .. versionadded: 7.0
3007 .. versionadded:: 7.0
3008 3008 """
3009 3009 if not self.autoawait:
3010 3010 return False
@@ -3069,7 +3069,7 b' class InteractiveShell(SingletonConfigurable):'
3069 3069 -------
3070 3070 result : :class:`ExecutionResult`
3071 3071
3072 .. versionadded: 7.0
3072 .. versionadded:: 7.0
3073 3073 """
3074 3074 info = ExecutionInfo(
3075 3075 raw_cell, store_history, silent, shell_futures)
@@ -119,7 +119,7 b' def print_figure(fig, fmt="png", bbox_inches="tight", base64=False, **kwargs):'
119 119 If `base64` is True, return base64-encoded str instead of raw bytes
120 120 for binary-encoded image formats
121 121
122 .. versionadded: 7.29
122 .. versionadded:: 7.29
123 123 base64 argument
124 124 """
125 125 # When there's an empty figure, we shouldn't return anything, otherwise we
@@ -162,7 +162,7 b' def retina_figure(fig, base64=False, **kwargs):'
162 162 If `base64` is True, return base64-encoded str instead of raw bytes
163 163 for binary-encoded image formats
164 164
165 .. versionadded: 7.29
165 .. versionadded:: 7.29
166 166 base64 argument
167 167 """
168 168 pngdata = print_figure(fig, fmt="retina", base64=False, **kwargs)
@@ -399,7 +399,7 b' def import_pylab(user_ns, import_all=True):'
399 399
400 400 def configure_inline_support(shell, backend):
401 401 """
402 .. deprecated: 7.23
402 .. deprecated:: 7.23
403 403
404 404 use `matplotlib_inline.backend_inline.configure_inline_support()`
405 405
@@ -593,6 +593,9 b' class DollarFormatter(FullEvalFormatter):'
593 593 # Re-yield the {foo} style pattern
594 594 yield (txt + literal_txt[continue_from:], field_name, format_spec, conversion)
595 595
596 def __repr__(self):
597 return "<DollarFormatter>"
598
596 599 #-----------------------------------------------------------------------------
597 600 # Utils to columnize a list of string
598 601 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now