summaryrefslogtreecommitdiff
path: root/sphinx/domains/javascript.py
diff options
context:
space:
mode:
authorAnthony Johnson <aj@ohess.org>2017-03-20 12:14:19 -0700
committerAnthony Johnson <aj@ohess.org>2017-03-20 12:17:58 -0700
commit5d8b49d221159c4c7fa52529c6b774b54114433f (patch)
tree9f08b97e06a2bfc4e25a56bce84949ee41d7d293 /sphinx/domains/javascript.py
parent4a61366ff14ff9cda2646455a965bbae404e4780 (diff)
downloadsphinx-git-5d8b49d221159c4c7fa52529c6b774b54114433f.tar.gz
Cleanup on docs and test
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r--sphinx/domains/javascript.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py
index 8ace6c892..7415bcb66 100644
--- a/sphinx/domains/javascript.py
+++ b/sphinx/domains/javascript.py
@@ -142,10 +142,10 @@ class JSObject(ObjectDescription):
# type: () -> None
"""Handle object nesting before content
- :py:class:`PyObject` represents Python language constructs. For
- constructs that are nestable, such as a Python classes, this method will
- build up a stack of the nesting heirarchy so that it can be later
- de-nested correctly, in :py:meth:`after_content`.
+ :py:class:`JSObject` represents JavaScript language constructs. For
+ constructs that are nestable, this method will build up a stack of the
+ nesting heirarchy so that it can be later de-nested correctly, in
+ :py:meth:`after_content`.
For constructs that aren't nestable, the stack is bypassed, and instead
only the most recent object is tracked. This object prefix name will be