Skip to content

Commit

Permalink
bugfix - remove static method's argument. cls
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsehwan96 committed Mar 3, 2021
1 parent e9bc142 commit e5b723a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyjosa/josa.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class Josa:

@staticmethod
def get_josa(cls, string, josa) -> str:
def get_josa(string, josa) -> str:

if (josa == '을') or (josa == '를'):
return '을' if has_jongsung(string) else '를'
Expand All @@ -22,7 +22,7 @@ def get_josa(cls, string, josa) -> str:
raise Exception("올바르지 않은 조사.")

@classmethod
def get_full_string(cls, string, josa) -> str:
def get_full_string(string, josa) -> str:

if (josa == '을') or (josa == '를'):
return string + '을' if has_jongsung(string) else string + '를'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name = 'pyjosa',
version = '0.0.8',
version = '0.0.9',
description = '한국어 조사 처리 패키지',
author = 'sehwan.kim',
author_email = 'sehwan.kim@ingkle.com',
Expand Down

0 comments on commit e5b723a

Please sign in to comment.