Skip to content

Commit e434aac

Browse files
committed
doc tweaks
1 parent 6bc1deb commit e434aac

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
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.3 (2025-03-14)
6+
===================
7+
8+
* Documentation correction.
9+
10+
511
v2.2.2 (2025-03-07)
612
===================
713

doc/source/conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@
2525

2626
# -- Project information -----------------------------------------------------
2727

28-
project = 'enum-properties'
29-
copyright = f'2022-{datetime.now().year}, Brian Kohan'
30-
author = 'Brian Kohan'
31-
32-
# The full version, including alpha/beta/rc tags
28+
project = enum_properties.__title__
29+
copyright = enum_properties.__copyright__
30+
author = enum_properties.__author__
3331
release = enum_properties.__version__
3432

3533

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.2"
7+
version = "2.2.3"
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: 4 additions & 2 deletions
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, 2)
22+
VERSION = (2, 2, 3)
2323

2424
__title__ = "Enum Properties"
2525
__version__ = ".".join(str(i) for i in VERSION)
@@ -111,7 +111,9 @@ class MyEnum(EnumProperties):
111111
def name(self):
112112
return "value"
113113
114-
:param values: The enumeration value(s) to specialize
114+
115+
:param case_fold: Pass True to make the property case insensitive
116+
:param match_none: Pass True to make None values symmetric
115117
:return: A decorated specialized member method
116118
"""
117119

0 commit comments

Comments
 (0)