##// END OF EJS Templates
reformat all of IPython.core
Matthias Bussonnier -
Show More
@@ -621,7 +621,6 b' class AsyncMagics(BasicMagics):'
621 621 If the object is a fully qualified object name, attempt to import it and
622 622 set it as the runner, and activate autoawait.
623 623
624
625 624 The exact behavior of autoawait is experimental and subject to change
626 625 across version of IPython and Python.
627 626 """
@@ -1067,7 +1067,6 b' class ExecutionMagics(Magics):'
1067 1067
1068 1068 In [6]: %timeit -n1 time.sleep(2)
1069 1069
1070
1071 1070 The times reported by %timeit will be slightly higher than those
1072 1071 reported by the timeit.py script when variables are accessed. This is
1073 1072 due to the fact that %timeit executes the statement in the namespace
@@ -1238,7 +1237,6 b' class ExecutionMagics(Magics):'
1238 1237 CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
1239 1238 Wall time: 0.00
1240 1239
1241
1242 1240 .. note::
1243 1241 The time needed by Python to compile the given expression will be
1244 1242 reported if it is more than 0.1s.
1 NO CONTENT: modified file
1 NO CONTENT: modified file
@@ -252,7 +252,6 b' class NamespaceMagics(Magics):'
252 252
253 253 Examples
254 254 --------
255
256 255 Define two variables and list them with who_ls::
257 256
258 257 In [1]: alpha = 123
@@ -367,7 +366,6 b' class NamespaceMagics(Magics):'
367 366
368 367 Examples
369 368 --------
370
371 369 Define two variables and list them with whos::
372 370
373 371 In [1]: alpha = 123
@@ -485,22 +483,16 b' class NamespaceMagics(Magics):'
485 483 Parameters
486 484 ----------
487 485 -f : force reset without asking for confirmation.
488
489 486 -s : 'Soft' reset: Only clears your namespace, leaving history intact.
490 487 References to objects may be kept. By default (without this option),
491 488 we do a 'hard' reset, giving you a new session and removing all
492 489 references to objects from the current session.
493
494 490 --aggressive: Try to aggressively remove modules from sys.modules ; this
495 491 may allow you to reimport Python modules that have been updated and
496 492 pick up changes, but can have unattended consequences.
497
498 493 in : reset input history
499
500 494 out : reset output history
501
502 495 dhist : reset directory history
503
504 496 array : reset only variables that are NumPy arrays
505 497
506 498 See Also
@@ -624,7 +616,6 b' class NamespaceMagics(Magics):'
624 616
625 617 Examples
626 618 --------
627
628 619 We first fully reset the namespace so your output looks identical to
629 620 this example for pedagogical reasons; in practice you do not need a
630 621 full reset::
@@ -316,7 +316,6 b' class OSMagics(Magics):'
316 316 ``cd <bookmark_name>`` is enough if there is no directory
317 317 ``<bookmark_name>``, but a bookmark with the name exists.
318 318
319
320 319 Options:
321 320
322 321 -q Be quiet. Do not print the working directory after the
@@ -329,7 +328,6 b' class OSMagics(Magics):'
329 328 where ``!command`` runs is immediately discarded after executing
330 329 'command'.
331 330
332
333 331 Examples
334 332 --------
335 333 ::
1 NO CONTENT: modified file
@@ -101,7 +101,7 b' pygments.lexers ='
101 101
102 102 [velin]
103 103 ignore_patterns =
104 IPython/core/tests,
104 IPython/core/tests
105 105 IPython/testing
106 106
107 107 [tool.black]
General Comments 0
You need to be logged in to leave comments. Login now