[pypy-commit] pypy datetime_api_27: typo
mattip
pypy.commits at gmail.com
Sun Apr 14 10:00:17 EDT 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch: datetime_api_27
Changeset: r96484:8a60117eee9d
Date: 2019-04-14 16:32 +0300
http://bitbucket.org/pypy/pypy/changeset/8a60117eee9d/
Log: typo
diff --git a/pypy/module/cpyext/cdatetime.py b/pypy/module/cpyext/cdatetime.py
--- a/pypy/module/cpyext/cdatetime.py
+++ b/pypy/module/cpyext/cdatetime.py
@@ -256,7 +256,7 @@
@cpython_api([PyObject, PyObject, PyObject], PyObject)
def _PyDateTime_FromTimestamp(space, w_type, w_args, w_kwds):
"""Implementation of datetime.fromtimestamp that matches the signature for
- PyDatetimeCAPI.DateTime_FromTimestamp
+ PyDateTimeCAPI.DateTime_FromTimestamp
"""
w_method = space.getattr(w_type, space.newtext("fromtimestamp"))
@@ -274,7 +274,7 @@
@cpython_api([PyObject, PyObject], PyObject)
def _PyDate_FromTimestamp(space, w_type, w_args):
"""Implementation of date.fromtimestamp that matches the signature for
- PyDatetimeCAPI.Date_FromTimestamp"""
+ PyDateTimeCAPI.Date_FromTimestamp"""
w_method = space.getattr(w_type, space.newtext("fromtimestamp"))
return space.call(w_method, w_args)
More information about the pypy-commit
mailing list