Skip to content

Commit 7b009c1

Browse files
committed
Rename sample.py to sampling.py
This avoids the naming conflict between the module pymc.sample and the function pymc.sample, which is imported in the top-level __init__.py. The conflict prevented direct access to the module.
1 parent 693def7 commit 7b009c1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

pymc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .math import *
66

77
from .trace import *
8-
from .sample import *
8+
from .sampling import *
99
from .step_methods import *
1010
from .tuning import *
1111

File renamed without changes.

0 commit comments

Comments
 (0)