mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Refs #23919 -- Stopped inheriting from object to define new style classes.
Tests and docs complement to cecc079168
.
This commit is contained in:
parent
fba0eaa5d6
commit
081e787160
18 changed files with 24 additions and 24 deletions
|
@ -151,7 +151,7 @@ Imports
|
|||
CONSTANT = 'foo'
|
||||
|
||||
|
||||
class Example(object):
|
||||
class Example:
|
||||
# ...
|
||||
|
||||
* Use convenience imports whenever available. For example, do this::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue