mirror of https://github.com/Textualize/rich.git
Merge pull request #350 from jimms/minor-fixes
Fix typo and remove a missing argument in the docstring
This commit is contained in:
commit
e75649a870
|
@ -1413,7 +1413,7 @@ if __name__ == "__main__": # pragma: no cover
|
|||
"options": [
|
||||
"New York Bulls",
|
||||
"Los Angeles Kings",
|
||||
"Golden State Warriros",
|
||||
"Golden State Warriors",
|
||||
"Huston Rocket",
|
||||
],
|
||||
"answer": "Huston Rocket",
|
||||
|
|
|
@ -271,7 +271,6 @@ class Syntax(JupyterMixin):
|
|||
Args:
|
||||
path (str): Path to file to highlight.
|
||||
encoding (str): Encoding of file.
|
||||
lexer_name (str): Lexer to use (see https://pygments.org/docs/lexers/)
|
||||
theme (str, optional): Color theme, aka Pygments style (see https://pygments.org/docs/styles/#getting-a-list-of-available-styles). Defaults to "emacs".
|
||||
dedent (bool, optional): Enable stripping of initial whitespace. Defaults to True.
|
||||
line_numbers (bool, optional): Enable rendering of line numbers. Defaults to False.
|
||||
|
|
Loading…
Reference in New Issue