Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
r
/
recursion
/
recursion_error_940.py
blob: 4a9f346cb6fcc4668349179f397e0c62ecc5335d [
file
] [
log
] [
blame
]
# pylint: disable=missing-docstring, too-few-public-methods, useless-object-inheritance
import
datetime
class
NewDate
(
datetime
.
date
):
@classmethod
def
today
(
cls
):
return
cls
(
2010
,
1
,
1
)
class
Next
(
object
):
def
__init__
(
self
):
datetime
.
date
=
NewDate