Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jun 7, 2022
1 parent 52599d9 commit d68c6b2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rich/style.py
@@ -1,15 +1,14 @@
import sys
from functools import lru_cache
from marshal import loads, dumps
from marshal import dumps, loads
from random import randint
from typing import Any, cast, Dict, Iterable, List, Optional, Type, Union
from typing import Any, Dict, Iterable, List, Optional, Type, Union, cast

from . import errors
from .color import Color, ColorParseError, ColorSystem, blend_rgb
from .repr import rich_repr, Result
from .repr import Result, rich_repr
from .terminal_theme import DEFAULT_TERMINAL_THEME, TerminalTheme


# Style instances and style definitions are often interchangeable
StyleType = Union[str, "Style"]

Expand Down Expand Up @@ -279,7 +278,7 @@ def on(cls, meta: Optional[Dict[str, Any]] = None, **handlers: Any) -> "Style":
style = Style.on(click=self.on_click)
Args:
meta (Optiona[Dict[str, Any]], optional): An optional dict of meta information.
meta (Optional[Dict[str, Any]], optional): An optional dict of meta information.
**handlers (Any): Keyword arguments are translated in to handlers.
Returns:
Expand Down

0 comments on commit d68c6b2

Please sign in to comment.