fixed PY-4084 Invalid manual variable types declaration syntax for rst

This commit is contained in:
Ekaterina Tuzova
2011-07-05 11:29:18 +04:00
parent 75ed1902fc
commit c9a2641059

View File

@@ -23,7 +23,7 @@ public abstract class StructuredDocString {
if (text == null) {
return null;
}
if (text.contains(":param ") || text.contains(":rtype") || text.contains(":type ")) {
if (text.contains(":param ") || text.contains(":rtype") || text.contains(":type")) {
return new SphinxDocString(text);
}
return new EpydocString(text);