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

Conversation

@bveeramani
Copy link
Member

@bveeramani bveeramani commented Apr 6, 2022

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

empty_like
trace
top_k
top_k
Copy link
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
Copy link
Member

@elibol elibol left a comment

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