mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #23919 -- Stopped inheriting from object to define new style classes.
Tests and docs complement to cecc079168.
This commit is contained in:
committed by
Tim Graham
parent
fba0eaa5d6
commit
081e787160
@@ -151,7 +151,7 @@ Imports
|
||||
CONSTANT = 'foo'
|
||||
|
||||
|
||||
class Example(object):
|
||||
class Example:
|
||||
# ...
|
||||
|
||||
* Use convenience imports whenever available. For example, do this::
|
||||
|
||||
Reference in New Issue
Block a user