Skip to content

Add statistics from CPython 3.8#2432

Merged
coolreader18 merged 3 commits into
RustPython:masterfrom
verhovsky:add-statistics
Feb 3, 2021
Merged

Add statistics from CPython 3.8#2432
coolreader18 merged 3 commits into
RustPython:masterfrom
verhovsky:add-statistics

Conversation

@verhovsky
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread vm/src/stdlib/random.rs Outdated
impl PyRandom {
#[pyslot(new)]
fn new(cls: PyTypeRef, vm: &VirtualMachine) -> PyResult<PyRef<Self>> {
#[allow(unused_variables)]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than adding this allow, renaming x to _x will work

@youknowone
Copy link
Copy Markdown
Member

Any other part look good! Thank you.

@coolreader18 coolreader18 merged commit 3e08492 into RustPython:master Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants