diff options
Diffstat (limited to 'src/py_times.cc')
-rw-r--r-- | src/py_times.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py_times.cc b/src/py_times.cc index 599aa60c..906dcfaa 100644 --- a/src/py_times.cc +++ b/src/py_times.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2013, John Wiegley. All rights reserved. + * Copyright (c) 2003-2015, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -108,7 +108,7 @@ struct datetime_from_python static void* convertible(PyObject* obj_ptr) { MY_PyDateTime_IMPORT; - if(PyDateTime_Check(obj_ptr)) return obj_ptr; + if (PyDateTime_Check(obj_ptr)) return obj_ptr; return 0; } |