mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
fixed PY-4084 Invalid manual variable types declaration syntax for rst
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user