Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Alias bitwise_not with invert - #399

Open
bveeramani wants to merge 5 commits into
nums-project:masterfrom
bveeramani:rename-bitwise-not
Open

Alias bitwise_not with invert#399
bveeramani wants to merge 5 commits into
nums-project:masterfrom
bveeramani:rename-bitwise-not

Conversation

@bveeramani

@bveeramani bveeramani commented Apr 6, 2022

Copy link
Copy Markdown
Member

bitwise_not is not documented in the NumPy documentation. The name bitwise_not is available, but it points to invert.

To reduce code duplication and to provide parity with NumPy, this PR:

  1. Aliases bitwise_not with invert
  2. Removes bitwise_not from the NumS documentation (invert remains in the NumS documentation).

See https://numpy.org/doc/stable/reference/generated/numpy.invert.html.

Closes #305

Comment thread docs/source/numpy.rst
empty_like
trace
top_k No newline at end of file
top_k

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

EOL was missing here.

@bveeramani
bveeramani requested a review from elibol April 6, 2022 03:14
@bveeramani bveeramani self-assigned this Apr 6, 2022

@elibol elibol left a comment

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.

Looks like there's a minor conflict. Otherwise LGTM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nums.numpy.bitwise_not should be renamed nums.numpy.invert

2 participants