Skip to content

Commit 128c8ad

Browse files
[skip ci] Particle class - deprecation warnings moved to version 0.23
1 parent 3e02572 commit 128c8ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/particle/particle/particle.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,8 +1240,8 @@ def findall(
12401240

12411241
@classmethod
12421242
@deprecated(
1243-
version="0.21",
1244-
reason="This method is deprecated and will be removed from version 0.22.0. Use finditer or findall instead.",
1243+
version="0.22",
1244+
reason="This method is deprecated and will be removed from version 0.23.0. Use finditer or findall instead.",
12451245
)
12461246
def from_string(cls: type[Self], name: str) -> Self:
12471247
"Get a particle from a PDG style name - returns the best match."
@@ -1252,8 +1252,8 @@ def from_string(cls: type[Self], name: str) -> Self:
12521252

12531253
@classmethod
12541254
@deprecated(
1255-
version="0.21",
1256-
reason="This method is deprecated and will be removed from version 0.22.0. Use finditer or findall instead.",
1255+
version="0.22",
1256+
reason="This method is deprecated and will be removed from version 0.23.0. Use finditer or findall instead.",
12571257
)
12581258
def from_string_list(cls: type[Self], name: str) -> list[Self]:
12591259
"Get a list of particles from a PDG style name."

0 commit comments

Comments
 (0)