Skip to content

Commit cdac13f

Browse files
committed
Expose the Scope() class for block helpers to properly allow parent access
1 parent 4adaa8c commit cdac13f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pybars/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,13 @@
103103
'Compiler',
104104
'log',
105105
'strlist',
106+
'Scope'
106107
]
107108

108109
from pybars._compiler import (
109110
Compiler,
110111
strlist,
112+
Scope
111113
)
112114

113115

pybars/_compiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
__all__ = [
2121
'Compiler',
2222
'strlist',
23+
'Scope'
2324
]
2425

2526
__metaclass__ = type

0 commit comments

Comments
 (0)