##// END OF EJS Templates
fix some typos in magic
Paul Ivanov -
Show More
@@ -651,7 +651,7 Currently the magic system has the following functions:\n"""
651 651 Options:
652 652
653 653 -a: makes the pattern match even objects whose names start with a
654 single underscore. These names are normally ommitted from the
654 single underscore. These names are normally omitted from the
655 655 search.
656 656
657 657 -i/-c: make the pattern case insensitive/sensitive. If neither of
@@ -661,7 +661,7 Currently the magic system has the following functions:\n"""
661 661 internal default is to do a case sensitive search.
662 662
663 663 -e/-s NAMESPACE: exclude/search a given namespace. The pattern you
664 specifiy can be searched in any of the following namespaces:
664 specify can be searched in any of the following namespaces:
665 665 'builtin', 'user', 'user_global','internal', 'alias', where
666 666 'builtin' and 'user' are the search defaults. Note that you should
667 667 not use quotes when specifying namespaces.
@@ -683,7 +683,7 Currently the magic system has the following functions:\n"""
683 683 %psearch r*.e* -> objects that start with e in modules starting in r
684 684 %psearch r*.* string -> all strings in modules beginning with r
685 685
686 Case sensitve search:
686 Case sensitive search:
687 687
688 688 %psearch -c a* list all object beginning with lower case a
689 689
@@ -1144,7 +1144,7 Currently the magic system has the following functions:\n"""
1144 1144 logger = self.shell.logger
1145 1145
1146 1146 # if no args are given, the defaults set in the logger constructor by
1147 # ipytohn remain valid
1147 # ipython remain valid
1148 1148 if par:
1149 1149 try:
1150 1150 logfname,logmode = par.split()
@@ -1356,7 +1356,7 Currently the magic system has the following functions:\n"""
1356 1356 file. The profile is still shown on screen.
1357 1357
1358 1358 -D <filename>: save (via dump_stats) profile statistics to given
1359 filename. This data is in a format understod by the pstats module, and
1359 filename. This data is in a format understood by the pstats module, and
1360 1360 is generated by a call to the dump_stats() method of profile
1361 1361 objects. The profile is still shown on screen.
1362 1362
@@ -1551,7 +1551,7 Currently the magic system has the following functions:\n"""
1551 1551 something (not a comment or docstring) for it to stop execution.
1552 1552
1553 1553 When the pdb debugger starts, you will see a (Pdb) prompt. You must
1554 first enter 'c' (without qoutes) to start execution up to the first
1554 first enter 'c' (without quotes) to start execution up to the first
1555 1555 breakpoint.
1556 1556
1557 1557 Entering 'help' gives information about the use of the debugger. You
@@ -2375,7 +2375,7 Currently the magic system has the following functions:\n"""
2375 2375
2376 2376 Arguments:
2377 2377
2378 If arguments are given, the following possibilites exist:
2378 If arguments are given, the following possibilities exist:
2379 2379
2380 2380 - If the argument is a filename, IPython will load that into the
2381 2381 editor. It will execute its contents with execfile() when you exit,
@@ -2701,7 +2701,7 Defaulting color scheme to 'NoColor'"""
2701 2701 This version explicitly checks that every entry in $PATH is a file
2702 2702 with execute access (os.X_OK), so it is much slower than %rehash.
2703 2703
2704 Under Windows, it checks executability as a match agains a
2704 Under Windows, it checks executability as a match against a
2705 2705 '|'-separated string of extensions, stored in the IPython config
2706 2706 variable win_exec_ext. This defaults to 'exe|com|bat'.
2707 2707
@@ -3066,7 +3066,7 Defaulting color scheme to 'NoColor'"""
3066 3066 146 setup.py
3067 3067 130 win32_manual_post_install.py
3068 3068
3069 Similiarly, the lists returned by the -l option are also special, in
3069 Similarly, the lists returned by the -l option are also special, in
3070 3070 the sense that you can equally invoke the .s attribute on them to
3071 3071 automatically get a whitespace-separated string from their contents:
3072 3072
@@ -3078,7 +3078,7 Defaulting color scheme to 'NoColor'"""
3078 3078 In [9]: b.s
3079 3079 Out[9]: 'setup.py win32_manual_post_install.py'
3080 3080
3081 In summary, both the lists and strings used for ouptut capture have
3081 In summary, both the lists and strings used for output capture have
3082 3082 the following special attributes:
3083 3083
3084 3084 .l (or .list) : value as list.
@@ -3093,7 +3093,7 Defaulting color scheme to 'NoColor'"""
3093 3093 # output, which uses shlex.split to strip options out.
3094 3094 var,_ = args.split('=',1)
3095 3095 var = var.strip()
3096 # But the the command has to be extracted from the original input
3096 # But the command has to be extracted from the original input
3097 3097 # parameter_s, not on what parse_options returns, to avoid the
3098 3098 # quote stripping which shlex.split performs on it.
3099 3099 _,cmd = parameter_s.split('=',1)
@@ -3522,7 +3522,7 Defaulting color scheme to 'NoColor'"""
3522 3522 '-f', '--format',
3523 3523 help='Convert an existing IPython notebook to a new format. This option '
3524 3524 'specifies the new format and can have the values: xml, json, py. '
3525 'The target filename is choosen automatically based on the new '
3525 'The target filename is chosen automatically based on the new '
3526 3526 'format. The filename argument gives the name of the source file.'
3527 3527 )
3528 3528 @magic_arguments.argument(
@@ -3591,7 +3591,7 Defaulting color scheme to 'NoColor'"""
3591 3591 Examples
3592 3592 --------
3593 3593
3594 To see what classes are availabe for config, pass no arguments::
3594 To see what classes are available for config, pass no arguments::
3595 3595
3596 3596 In [1]: %config
3597 3597 Available objects for config:
General Comments 0
You need to be logged in to leave comments. Login now