mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-10 04:15:49 +08:00
Start using a lot more unicode literals for Python 2
This commit is contained in:
1 parent
1f4e0dd22e
commit
5a06ea2699
11 files changed
+22
-22
No files matched your search
@@ -73,7 +73,7 @@ keywords_only_valid_as_leaf = (
|
||||
|
||||
|
||||
class KeywordName(AbstractNameDefinition):
|
||||
api_type = 'keyword'
|
||||
api_type = u'keyword'
|
||||
|
||||
def __init__(self, evaluator, name):
|
||||
self.evaluator = evaluator
|
||||
@@ -88,7 +88,7 @@ class KeywordName(AbstractNameDefinition):
|
||||
|
||||
|
||||
class Keyword(object):
|
||||
api_type = 'keyword'
|
||||
api_type = u'keyword'
|
||||
|
||||
def __init__(self, evaluator, name, pos):
|
||||
self.name = KeywordName(evaluator, name)
|
||||
|
||||
Reference in new issue
Block a user