Author: Matti Picus <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit