Skip to content

Commit d434426

Browse files
committed
Add spell-checker ignore for MAXFREELIST constants
1 parent cfd1edb commit d434426

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

crates/vm/src/builtins/dict.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ impl fmt::Debug for PyDict {
6262
}
6363
}
6464

65+
// spell-checker:ignore MAXFREELIST
6566
const PYDICT_MAXFREELIST: usize = 80;
6667

6768
thread_local! {

crates/vm/src/builtins/float.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ impl PyFloat {
3434
}
3535
}
3636

37+
// spell-checker:ignore MAXFREELIST
3738
const PYFLOAT_MAXFREELIST: usize = 100;
3839

3940
thread_local! {

crates/vm/src/builtins/list.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ unsafe impl Traverse for PyList {
7474
}
7575
}
7676

77+
// spell-checker:ignore MAXFREELIST
7778
const PYLIST_MAXFREELIST: usize = 80;
7879

7980
thread_local! {

crates/vm/src/builtins/slice.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ pub struct PySlice {
2525
pub step: Option<PyObjectRef>,
2626
}
2727

28-
// CPython caches only 1 slice object (PySlice_MAXFREELIST = 1)
28+
// spell-checker:ignore MAXFREELIST
29+
// PySlice_MAXFREELIST = 1
2930
const PYSLICE_MAXFREELIST: usize = 1;
3031

3132
thread_local! {

0 commit comments

Comments
 (0)