Skip to content

Commit 4d9e7a5

Browse files
committed
Ammend docstring to use python2/3 compatible example.
1 parent 0800866 commit 4d9e7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class APISettings(object):
167167
For example:
168168
169169
from rest_framework.settings import api_settings
170-
print api_settings.DEFAULT_RENDERER_CLASSES
170+
print(api_settings.DEFAULT_RENDERER_CLASSES)
171171
172172
Any setting with string import paths will be automatically resolved
173173
and return the class, rather than the string literal.

0 commit comments

Comments
 (0)