diff --git a/rich/console.py b/rich/console.py index bf87522f..10873637 100644 --- a/rich/console.py +++ b/rich/console.py @@ -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", diff --git a/rich/syntax.py b/rich/syntax.py index 48940209..8055730c 100644 --- a/rich/syntax.py +++ b/rich/syntax.py @@ -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.