Skip to content

Commit 0c7d82b

Browse files
Alex Hagermansrowen
Alex Hagerman
authored andcommitted
[SPARK-25933][DOCUMENTATION] Fix pstats.Stats() reference in configuration.md
## What changes were proposed in this pull request? Change ptats.Stats() to pstats.Stats() for `spark.python.profile.dump` in configuration.md. ## How was this patch tested? Doc test Closes #22933 from AlexHagerman/doc_fix. Authored-by: Alex Hagerman <alex@unexpectedeof.net> Signed-off-by: Sean Owen <sean.owen@databricks.com> (cherry picked from commit 1a7abf3) Signed-off-by: Sean Owen <sean.owen@databricks.com>
1 parent 49e1eb8 commit 0c7d82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ Apart from these, the following properties are also available, and may be useful
427427
<td>
428428
The directory which is used to dump the profile result before driver exiting.
429429
The results will be dumped as separated file for each RDD. They can be loaded
430-
by ptats.Stats(). If this is specified, the profile result will not be displayed
430+
by <code>pstats.Stats()</code>. If this is specified, the profile result will not be displayed
431431
automatically.
432432
</td>
433433
</tr>

0 commit comments

Comments
 (0)