Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstring for the writeable argument of util.frame function #1780

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

alvingao
Copy link
Contributor

Reference Issue

Fixes #1779

What does this implement/fix? Explain your changes.

This fixes the docstring for the writeable argument of util.frame function to match its actual behavior.

The framed view can only be written when the writeable argument is set to True. The previous docstring description is the opposite of this behavior.

@bmcfee bmcfee added the documentation Issues relating to docstrings, examples, and documentation build label Nov 14, 2023
@bmcfee bmcfee added this to the 0.10.2 milestone Nov 14, 2023
Copy link
Member

@bmcfee bmcfee left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for catching this!

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5ca70f5) 98.77% compared to head (6a81173) 98.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1780   +/-   ##
=======================================
  Coverage   98.77%   98.77%           
=======================================
  Files          34       34           
  Lines        4659     4659           
=======================================
  Hits         4602     4602           
  Misses         57       57           
Flag Coverage Δ
unittests 98.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bmcfee bmcfee merged commit 3304731 into librosa:main Nov 15, 2023
11 checks passed
@alvingao alvingao deleted the fix-util-frame-function-doc branch November 15, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues relating to docstrings, examples, and documentation build
Development

Successfully merging this pull request may close these issues.

Docstring on the writeable argument of util.frame function is wrong
2 participants