Skip to content

Commit

Permalink
Use pep8 version of method set_name (#508)
Browse files Browse the repository at this point in the history
* Fix one occurrence of setName that was not converted to the
  pep8-compliant names.
  • Loading branch information
volans- committed Sep 1, 2023
1 parent fa3e16e commit b4dfec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyparsing/common.py
Expand Up @@ -206,7 +206,7 @@ class pyparsing_common:
scientific notation and returns a float"""

# streamlining this expression makes the docs nicer-looking
number = (sci_real | real | signed_integer).setName("number").streamline()
number = (sci_real | real | signed_integer).set_name("number").streamline()
"""any numeric expression, returns the corresponding Python type"""

fnumber = (
Expand Down

0 comments on commit b4dfec0

Please sign in to comment.