diff options
author | Kasia <39829548+katleszek@users.noreply.github.com> | 2021-05-11 09:22:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 09:22:42 +0200 |
commit | afddff9c543302db53bf8572aa4ec80fd6bb470f (patch) | |
tree | 3a760c7e794d4832b52c42f751641bef16d8113c | |
parent | b4d52f4fc9b11c7b176fbb33028f0a3fc9cd7edd (diff) | |
download | numpy-afddff9c543302db53bf8572aa4ec80fd6bb470f.tar.gz |
Update numpy/core/_add_newdocs_scalars.py
Co-authored-by: Matti Picus <matti.picus@gmail.com>
-rw-r--r-- | numpy/core/_add_newdocs_scalars.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/_add_newdocs_scalars.py b/numpy/core/_add_newdocs_scalars.py index a02a36ec0..9c6a5bd33 100644 --- a/numpy/core/_add_newdocs_scalars.py +++ b/numpy/core/_add_newdocs_scalars.py @@ -220,7 +220,8 @@ add_newdoc_for_scalar_type('datetime64', [], """ If created from a 64-bit integer, it represents an offset from ``1970-01-01T00:00:00``. - If created from string, shown as ISO 8601 date or datetime format. + If created from string, the string must be in ISO 8601 date + or datetime format. >>> np.datetime64(10, 'Y') numpy.datetime64('1980') |