Skip to content

Commit

Permalink
Merge pull request #695 from randomir/fix-entry_points-typo
Browse files Browse the repository at this point in the history
Fix invalid regex for entry point names
  • Loading branch information
di committed Feb 11, 2020
2 parents 129471f + 3ef5a9e commit 70ba3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/specifications/entry-points.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Conceptually, an entry point is defined by three required properties:
name, the consumer decides how to handle such conflicts. The name may contain
any characters except ``=``, but it cannot start or end with any whitespace
character, or start with ``[``. For new entry points, it is recommended to
use only letters, numbers, underscores, dashes and dots (regex ``[\w-.]+``).
use only letters, numbers, underscores, dots and dashes (regex ``[\w.-]+``).

- The **object reference** points to a Python object. It is either in the form
``importable.module``, or ``importable.module:object.attr``. Each of the parts
Expand Down

0 comments on commit 70ba3e4

Please sign in to comment.