Skip to content

208. Implement Trie (Prefix Tree) - #99

Open
kitano-kazuki wants to merge 1 commit into
mainfrom
208-implement-trie
Open

208. Implement Trie (Prefix Tree)#99
kitano-kazuki wants to merge 1 commit into
mainfrom
208-implement-trie

Conversation

@kitano-kazuki

Copy link
Copy Markdown
Collaborator

Comment thread memo.md

def __init__(self):
self.root = Node()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

メソッド間の空行は 1 行であることが多いと思います。

参考までにスタイルガイドへのリンクを共有いたします。

https://peps.python.org/pep-0008/#blank-lines

Method definitions inside a class are surrounded by a single blank line.

https://google.github.io/styleguide/pyguide.html#35-blank-lines

One blank line between method definitions and between the docstring of a class and the first method.

なお、このスタイルガイドは“唯一の正解”というわけではなく、数あるガイドラインの一つに過ぎません。チームによって重視される書き方や慣習も異なります。そのため、ご自身の中に基準を持ちつつも、最終的にはチームの一般的な書き方に合わせることをお勧めします。

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。間隔を1行にするようにします

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants