| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -54,11 +54,12 @@ bintrees提供了丰富的API,涵盖了通常的多种应用。下面逐条说 | |||
| 54 | 54 | Warning: FastRBTree not available, using Python version RBTree. | |
| 55 | 55 | ||
| 56 | 56 | 正确的引入方式是: | |
| 57 | - | ||
| 57 | + | ||
| 58 | 58 | >>> from bintrees import BinaryTree #只引入了BinartTree | |
| 59 | 59 | >>> from bintrees import * #三个模块都引入了 | |
| 60 | 60 | ||
| 61 | 61 | - 实例化 | |
| 62 | + | ||
| 62 | 63 | ||
| 63 | 64 | >>> btree = BinaryTree() | |
| 64 | 65 | >>> btree | |
| Back | FazBrowse Home | New Git URL |
0 commit comments