Skip to content

Commit

Permalink
Merge pull request #2631 from urasakikeisuke/fix-typo
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
willmcgugan committed Mar 4, 2023
2 parents 13e238b + dbdc13f commit 3273ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rich/cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _get_codepoint_cell_size(codepoint: int) -> int:
"""Get the cell size of a character.
Args:
character (str): A single character.
codepoint (int): Codepoint of a character.
Returns:
int: Number of cells (0, 1 or 2) occupied by that character.
Expand Down
2 changes: 1 addition & 1 deletion rich/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def __rich_console__(
console.print(Syntax(code, "python", line_numbers=True))
console.print()
console.print(
"When you call [b]print()[/b], Rich [i]renders[/i] the object in to the the following:\n"
"When you call [b]print()[/b], Rich [i]renders[/i] the object in to the following:\n"
)
fragments = list(console.render(text))
console.print(fragments)
Expand Down

0 comments on commit 3273ea8

Please sign in to comment.