mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unused variables.
This commit is contained in:
committed by
Tim Graham
parent
978ad6d4c0
commit
a375e911ef
@@ -110,8 +110,6 @@ def create_reference_role(rolename, urlbase):
|
||||
def _role(name, rawtext, text, lineno, inliner, options=None, content=None):
|
||||
if options is None:
|
||||
options = {}
|
||||
if content is None:
|
||||
content = []
|
||||
node = docutils.nodes.reference(
|
||||
rawtext,
|
||||
text,
|
||||
@@ -128,8 +126,6 @@ def create_reference_role(rolename, urlbase):
|
||||
def default_reference_role(name, rawtext, text, lineno, inliner, options=None, content=None):
|
||||
if options is None:
|
||||
options = {}
|
||||
if content is None:
|
||||
content = []
|
||||
context = inliner.document.settings.default_reference_context
|
||||
node = docutils.nodes.reference(
|
||||
rawtext,
|
||||
|
||||
Reference in New Issue
Block a user