Skip to content

Commit 1eac2c5

Browse files
committed
Rename to has_regexp_groups
1 parent 4ac176a commit 1eac2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ impl UrlPattern {
196196
Ok(self.0.hash())
197197
}
198198

199-
#[getter]
200-
pub fn hasRegExpGroups(&self) -> PyResult<bool> {
199+
#[getter(hasRegExpGroups)]
200+
pub fn has_regexp_groups(&self) -> PyResult<bool> {
201201
Ok(self.0.has_regexp_groups())
202202
}
203203
}

0 commit comments

Comments
 (0)