Skip to content

Commit cf34a10

Browse files
committed
consistent naming
1 parent 4a89d03 commit cf34a10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpydoc/validate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def signature_parameters_names(self):
336336
)
337337

338338
@property
339-
def optional_signature_parameter_names(self):
339+
def optional_signature_parameters_names(self):
340340
return tuple(
341341
self._add_stars(param, info)
342342
for param, info in self.signature_parameters.items()
@@ -611,7 +611,7 @@ def validate(obj_name):
611611
)
612612
)
613613

614-
for param in doc.optional_signature_parameter_names:
614+
for param in doc.optional_signature_parameters_names:
615615
type = doc.parameter_type(param)
616616
if "optional" not in type and "{" not in type and "default" not in type:
617617
errs.append(error("PR11", param_name=param))

0 commit comments

Comments
 (0)