Skip to content

Commit

Permalink
Fix typo in error message when render_content method is not impleme…
Browse files Browse the repository at this point in the history
…nted (#34952)

(cherry picked from commit bb81c45)
  • Loading branch information
utkarsharma2 authored and ephraimbuddy committed Oct 29, 2023
1 parent 78de303 commit 04da77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/exts/operators_and_hooks_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run(self):

def render_content(self, *, tags: set[str] | None, header_separator: str = DEFAULT_HEADER_SEPARATOR):
"""Return content in RST format"""
raise NotImplementedError("Tou need to override render_content method.")
raise NotImplementedError("You need to override render_content method.")


def _common_render_list_content(*, header_separator: str, resource_type: str, template: str):
Expand Down

0 comments on commit 04da77e

Please sign in to comment.