Show More
@@ -3148,13 +3148,13 b' Defaulting color scheme to \'NoColor\'"""' | |||||
3148 |
|
3148 | |||
3149 | The block is dedented prior to execution to enable execution of method |
|
3149 | The block is dedented prior to execution to enable execution of method | |
3150 | definitions. '>' and '+' characters at the beginning of a line are |
|
3150 | definitions. '>' and '+' characters at the beginning of a line are | |
3151 |
ignored, to allow pasting directly from e-mails |
|
3151 | ignored, to allow pasting directly from e-mails, diff files and doctests. | |
3152 | executed block is also assigned to variable named 'pasted_block' for |
|
3152 | The executed block is also assigned to variable named 'pasted_block' for | |
3153 | later editing with '%edit pasted_block'. |
|
3153 | later editing with '%edit pasted_block'. | |
3154 |
|
3154 | |||
3155 | You can also pass a variable name as an argument, e.g. '%cpaste foo'. |
|
3155 | You can also pass a variable name as an argument, e.g. '%cpaste foo'. | |
3156 | This assigns the pasted block to variable 'foo' as string, without |
|
3156 | This assigns the pasted block to variable 'foo' as string, without | |
3157 |
dedenting or executing it |
|
3157 | dedenting or executing it (preceding >>> and + is still stripped) | |
3158 |
|
3158 | |||
3159 | Do not be alarmed by garbled output on Windows (it's a readline bug). |
|
3159 | Do not be alarmed by garbled output on Windows (it's a readline bug). | |
3160 | Just press enter and type -- (and press enter again) and the block |
|
3160 | Just press enter and type -- (and press enter again) and the block |
General Comments 0
You need to be logged in to leave comments.
Login now