Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move constructor position to beginning of class #323

Merged
merged 8 commits into from
Jul 28, 2020
Merged

Move constructor position to beginning of class #323

merged 8 commits into from
Jul 28, 2020

Conversation

daun-io
Copy link
Member

@daun-io daun-io commented Jul 28, 2020

class 생성자 method인 init method를 class의 앞쪽으로 통일합니다.
이는 class의 생성자와 관련된 인자들의 설명이 포함된 docstring의 위치가 class의 앞단에 위치한 점과 일관되기 때문에 class를 읽기 쉽게 만듭니다. (또한 가장 흔하게 사용되는 코딩패턴임도 무시할 수 없을 것 같네요!)

@coveralls
Copy link

coveralls commented Jul 28, 2020

Coverage Status

Coverage increased (+5.4%) to 57.534% when pulling fbe2916 on nyanye:master into 7b9281a on konlpy:master.

@daun-io
Copy link
Member Author

daun-io commented Jul 28, 2020

추가로 Python2 + Python3 호환성 문제를 해결하였습니다.

@daun-io daun-io merged commit 5f7c93f into konlpy:master Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants