mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 08:52:13 -05:00
Remove backwards-compatible typos
Decreed in #3297 not to be a public API
This commit is contained in:
1 parent
7e8545a642
commit
09e3f8adfd
1 file changed
-11
@@ -1454,10 +1454,6 @@ class ASTFunctionParameter(ASTBase):
|
||||
self.arg.describe_signature(signode, mode, env, symbol=symbol)
|
||||
|
||||
|
||||
# backwards-compatible typo
|
||||
ASTFunctinoParameter = ASTFunctionParameter
|
||||
|
||||
|
||||
class ASTParametersQualifiers(ASTBase):
|
||||
def __init__(self, args, volatile, const, refQual, exceptionSpec, override,
|
||||
final, initializer):
|
||||
@@ -2291,10 +2287,6 @@ class ASTDeclaratorNameParamQual(ASTBase):
|
||||
self.paramQual.describe_signature(signode, mode, env, symbol)
|
||||
|
||||
|
||||
# backwards-compatible typo
|
||||
ASTDecleratorNameParamQual = ASTDeclaratorNameParamQual
|
||||
|
||||
|
||||
class ASTInitializer(ASTBase):
|
||||
def __init__(self, value):
|
||||
# type: (unicode) -> None
|
||||
@@ -3972,9 +3964,6 @@ class DefinitionParser(object):
|
||||
header = "Error in declarator or parameters and qualifiers"
|
||||
raise self._make_multi_error(prevErrors, header)
|
||||
|
||||
# backwards-compatible typo
|
||||
_parse_declerator = _parse_declarator
|
||||
|
||||
def _parse_initializer(self, outer=None):
|
||||
# type: (unicode) -> ASTInitializer
|
||||
self.skip_ws()
|
||||
|
||||
Reference in new issue
Block a user