(self, raw, out=None, scheme=Undefined)
| 197 | |
| 198 | |
| 199 | def format(self, raw, out=None, scheme=Undefined): |
| 200 | import warnings |
| 201 | if scheme is not Undefined: |
| 202 | warnings.warn('The `scheme` argument of IPython.utils.PyColorize:Parser.format is deprecated since IPython 6.0.' |
| 203 | 'It will have no effect. Set the parser `style` directly.', |
| 204 | stacklevel=2) |
| 205 | return self.format2(raw, out)[0] |
| 206 | |
| 207 | def format2(self, raw, out = None): |
| 208 | """ Parse and send the colored source. |