mirror of https://github.com/python/cpython.git
A copy-and-paste job forget the "paste" half.
This commit is contained in:
parent
3e5e661150
commit
8cd015c701
|
@ -589,7 +589,7 @@ there are three ways you can use it:\footnote{Prior to Python 2.2, it
|
||||||
import profile
|
import profile
|
||||||
|
|
||||||
# 1. Apply computed bias to all Profile instances created hereafter.
|
# 1. Apply computed bias to all Profile instances created hereafter.
|
||||||
profile.Profile.bias =
|
profile.Profile.bias = your_computed_bias
|
||||||
|
|
||||||
# 2. Apply computed bias to a specific Profile instance.
|
# 2. Apply computed bias to a specific Profile instance.
|
||||||
pr = profile.Profile()
|
pr = profile.Profile()
|
||||||
|
|
Loading…
Reference in New Issue