Skip to content

Commit 954c3ff

Browse files
committed
tutorial correction
1 parent db78989 commit 954c3ff

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

doc/source/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Change Log
33
==========
44

5+
v2.2.2 (2025-03-07)
6+
===================
7+
8+
* Tutorial correction.
9+
10+
511
v2.2.1 (2025-03-07)
612
===================
713

doc/source/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The last property we've added is the ``uri`` property. We've added it as concret
6464
class because it can be created from the slug and version. We could have specified it in the value
6565
tuple but that would be very verbose and less
6666
`DRY <https://en.wikipedia.org/wiki/Don%27t_repeat_yourself>`_. To make this property symmetric we
67-
added it to the ``_symmetric_builtins_`` list.
67+
decorate it with :py:func:`~enum_properties.symmetric`.
6868

6969
We can use our enumeration like so:
7070

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "enum-properties"
7-
version = "2.2.1"
7+
version = "2.2.2"
88
description = "Add properties and method specializations to Python enumeration values with a simple declarative syntax."
99
requires-python = ">=3.8,<4.0"
1010
authors = [

src/enum_properties/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from dataclasses import dataclass
2020
from functools import cached_property
2121

22-
VERSION = (2, 2, 1)
22+
VERSION = (2, 2, 2)
2323

2424
__title__ = "Enum Properties"
2525
__version__ = ".".join(str(i) for i in VERSION)

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)