• Guido van Rossum's avatar
    SF patch #685738 by Michael Stone. · 298e4214
    Guido van Rossum yazdı
    This changes the default __new__ to refuse arguments iff tp_init is the
    default __init__ implementation -- thus making it a TypeError when you
    try to pass arguments to a constructor if the class doesn't override at
    least __init__ or __new__.
    298e4214
copy_reg.py 6.69 KB