Skip to content

Commit 839a799

Browse files
committed
Fix typo
1 parent e24b40b commit 839a799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxnotes/snippet/picker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def depart_section(self, node:nodes.section) -> None:
8585
self._has_code_block = False
8686

8787
# Skip non-leaf section without content
88-
if self._is_empty_non_leaf_secion(node):
88+
if self._is_empty_non_leaf_section(node):
8989
return
9090
# Skip toplevel section, we generate :class:`Document` for it
9191
if self._section_level == 0:
@@ -106,7 +106,7 @@ def unknown_departure(self, node:nodes.Node) -> None:
106106
# Helper methods #
107107
##################
108108

109-
def _is_empty_non_leaf_secion(self, node:nodes.section) -> bool:
109+
def _is_empty_non_leaf_section(self, node:nodes.section) -> bool:
110110
"""
111111
A section is a leaf section it has non-child section.
112112
A section is empty when it has not non-section child node

0 commit comments

Comments
 (0)