File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1240,8 +1240,8 @@ def findall(
1240
1240
1241
1241
@classmethod
1242
1242
@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." ,
1245
1245
)
1246
1246
def from_string (cls : type [Self ], name : str ) -> Self :
1247
1247
"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:
1252
1252
1253
1253
@classmethod
1254
1254
@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." ,
1257
1257
)
1258
1258
def from_string_list (cls : type [Self ], name : str ) -> list [Self ]:
1259
1259
"Get a list of particles from a PDG style name."
You can’t perform that action at this time.
0 commit comments