Skip to content

Commit

Permalink
C++, fix typo in internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobandersen committed Nov 30, 2021
1 parent 95969a4 commit 355147e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx/domains/cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6541,7 +6541,7 @@ def parser() -> ASTExpression:

# ==========================================================================

def _parse_template_paramter(self) -> ASTTemplateParam:
def _parse_template_parameter(self) -> ASTTemplateParam:
self.skip_ws()
if self.skip_word('template'):
# declare a tenplate template parameter
Expand Down Expand Up @@ -6613,7 +6613,7 @@ def _parse_template_parameter_list(self) -> ASTTemplateParams:
pos = self.pos
err = None
try:
param = self._parse_template_paramter()
param = self._parse_template_parameter()
templateParams.append(param)
except DefinitionError as eParam:
self.pos = pos
Expand Down

0 comments on commit 355147e

Please sign in to comment.