Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
dwxh
w-tg-bot
Commits
beaa36a0
Commit
beaa36a0
authored
Oct 02, 2021
by
dwxh
🕸
Browse files
ffffffffix
parent
9117d2db
Changes
1
Hide whitespace changes
Inline
Side-by-side
w_tg_bot/utils/button_utils.py
View file @
beaa36a0
from
typing
import
List
from
telethon
import
events
from
w_tg_bot
import
W_BOT_SET
def
split_list
(
list_data
,
n
)
->
l
ist
[
l
ist
]:
def
split_list
(
list_data
:
List
,
n
:
int
)
->
L
ist
[
L
ist
]:
"""
一维列表转二维列表。
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment