File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def _init():
4040 LIBC = cdll .LoadLibrary ("libc.dylib" )
4141 except OSError :
4242 # On OS X El Capitan, the above doesn't work for some reason and we
43- # have to explicitely mention the path.
43+ # have to explicitly mention the path.
4444 # See: https://github.com/ffi/ffi/issues/461
4545 LIBC = cdll .LoadLibrary ("/usr/lib/libc.dylib" )
4646
@@ -73,7 +73,7 @@ def get_proc_info(pid):
7373
7474def get_proc_name (pid ):
7575 """
76- Use sysctl to retrive process name.
76+ Use sysctl to retrieve process name.
7777 """
7878 proc_kinfo = get_proc_info (pid )
7979 if not proc_kinfo :
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def get_line(number: int) -> StyleAndTextTuples:
123123 if data_buffer :
124124 line_count = (
125125 max (data_buffer ) + 1
126- ) # TODO: substract all empty lines from the beginning. (If we need to. Not sure.)
126+ ) # TODO: subtract all empty lines from the beginning. (If we need to. Not sure.)
127127 else :
128128 line_count = 1
129129
@@ -261,7 +261,7 @@ class Terminal:
261261 """
262262 Terminal widget for use in a prompt_toolkit layout.
263263
264- :param commmand : List of command line arguments.
264+ :param command : List of command line arguments.
265265 For instance: `['python', '-c', 'print("test")']`
266266 :param before_exec_func: Function which is called in the child process,
267267 right before calling `exec`. Useful for instance for changing the
You can’t perform that action at this time.
0 commit comments