docs.python.org
Python 3.15.2 documentation
Python 3.12 (security-fixes). Python 3.11 (security-fixes).
Python 3.12 (security-fixes). Python 3.11 (security-fixes).
AttributeError: module 'numpy' has no attribute 'array' (consider renaming '/home/me/numpy.py' if it has the same name as a library you intended to import). (Contributed by Shantanu Jain in gh-95754.) The error message now tries to suggest the correct keyword argument when an incorrect...
Python/C API reference manual ». Concrete Objects Layer ». Byte Array Objects.Return value: New reference. Part of the Stable ABI. Thread safety: Safe for concurrent use on the same object.