mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Python] Follow standard Python docstrings conventions (PEP-0257).
https://www.python.org/dev/peps/pep-0257/
This commit is contained in:
@@ -235,7 +235,6 @@ class UnicodeTrieGenerator(object):
|
||||
|
||||
Don't change parameter values after calling this method.
|
||||
"""
|
||||
|
||||
self.BMP_data_offset_bits = 16 - self.BMP_first_level_index_bits
|
||||
|
||||
self.supp_data_offset_bits = \
|
||||
@@ -319,9 +318,7 @@ class UnicodeTrieGenerator(object):
|
||||
"""Compress internal trie representation.
|
||||
|
||||
Don't mutate the trie after calling this method.
|
||||
|
||||
"""
|
||||
|
||||
def remap_indexes(indexes, old_idx, new_idx):
|
||||
def map_index(idx):
|
||||
if idx == old_idx:
|
||||
|
||||
Reference in New Issue
Block a user