Skip to content

Commit 07476a2

Browse files
committed
Fix is namespace
1 parent 7d8ab3d commit 07476a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/stdlib/symtable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl PySymbol {
249249

250250
#[pymethod(name = "is_namespace")]
251251
fn is_namespace(&self) -> bool {
252-
self.namespaces.is_empty()
252+
!self.namespaces.is_empty()
253253
}
254254

255255
#[pymethod(name = "is_annotated")]

0 commit comments

Comments
 (0)