Skip to content

Commit 1d67400

Browse files
committed
style fixes for FAQ entry
1 parent c481811 commit 1d67400

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/faq.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ Frequently Asked Questions
77
If the symbol has been exported in the shared object (on linux), ``dladdr`` might still be able to extract
88
the function name even if no debugging information has been attached.
99

10-
* **Is it possible to just profile a short part of my profile?**: Yes here an example how you could do just that:
10+
* **Is it possible to just profile a part of my program?**: Yes here an example how you could do just that::
1111

12-
```
13-
with open('test.prof', 'w+b') as fd:
12+
with open('test.prof', 'w+b') as fd:
1413
vmprof.enable(fd.fileno())
1514
my_function_or_program()
1615
vmprof.disable()
1716

18-
```
17+
Upload it later to vmprof.com if you choose to inspect it further::
1918

20-
And upload it later when your program finishes.
21-
22-
$ python -m vmprof.upload test.prof
19+
$ python -m vmprof.upload test.prof
2320

2421

2522

0 commit comments

Comments
 (0)