Skip to content

set_range by int 名存实亡 #287

@Septrum101

Description

@Septrum101

if isinstance(charset_range, int):
# 按索引范围限制
if 0 <= charset_range < len(self.charset):
self.charset_range = self.charset[:charset_range + 1]

想要正确设置,只有自行输入str。另外,就算设置了 str,返回的 obj 里依然会返回完整字符集。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions