mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Fix itertools count repr
This commit is contained in:
@@ -225,7 +225,7 @@ mod decl {
|
||||
let step = format!("{}", self.step.clone());
|
||||
if step != "1" {
|
||||
cur.push_str(", ");
|
||||
cur.push_str(&step.to_string());
|
||||
cur.push_str(&step);
|
||||
}
|
||||
Ok(format!("count({})", cur))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user