Skip to content

Commit adef8d4

Browse files
committed
fix comment
1 parent 721a6aa commit adef8d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

posthog/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ def feature_enabled(
112112
113113
For example:
114114
```python
115-
if(posthog.feature_enabled('beta feature', 'distinct id')) {
116-
// do something
117-
}
115+
if posthog.feature_enabled('beta feature', 'distinct id'):
116+
# do something
118117
```
119118
120119
You can call `posthog.load_feature_flags()` before to make sure you're not doing unexpected requests.

0 commit comments

Comments
 (0)