We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58323b3 commit eaae385Copy full SHA for eaae385
Python/Product/Analysis/Interpreter/Ast/AstPythonModule.cs
@@ -265,6 +265,11 @@ private static string TryGetDocFromModuleInitFile(string filePath) {
265
return line.Substring(quote.Length, line.Length - 2 * quote.Length).Trim();
266
}
267
var sb = new StringBuilder();
268
+ // Handle '''Text right here
269
+ line = line.Substring(quote.Length).Trim();
270
+ if (!string.IsNullOrEmpty(line)) {
271
+ sb.AppendLine(line);
272
+ }
273
while (true) {
274
line = sr.ReadLine();
275
if (line == null || line.EndsWithOrdinal(quote)) {
0 commit comments