Author: jacob
Date: 2008-08-26 14:38:27 -0500 (Tue, 26 Aug 2008)
New Revision: 8593
Modified:
django/trunk/docs/_ext/djangodocs.py
Log:
A noble spirit no longer embiggens the smallest function signatures.
Modified: django/trunk/docs/_ext/djangodocs.py
===================================================================
--- django/trunk/docs/_ext/djangodocs.py 2008-08-26 19:38:19 UTC (rev
8592)
+++ django/trunk/docs/_ext/djangodocs.py 2008-08-26 19:38:27 UTC (rev
8593)
@@ -79,7 +79,16 @@
# Don't use border=1, which docutils does by default.
def visit_table(self, node):
self.body.append(self.starttag(node, 'table', CLASS='docutils'))
-
+
+ # <big>? Really?
+ def visit_desc_parameterlist(self, node):
+ self.body.append('(')
+ self.first_param = 1
+
+ def depart_desc_parameterlist(self, node):
+ self.body.append(')')
+ pass
+
# Give each section a unique ID -- nice for custom CSS hooks
# This is different on docutils 0.5 vs. 0.4...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---