Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit075927a

Browse files
committed
pdk format removes trailing whitespace
1 parent85cb6f5 commit075927a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.pdk/pdk/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def remove_nonprintables(text):
4747
nps="".join(sorted(set(chr(i)foriinrange(128))-set(string.printable)))
4848
table=str.maketrans(nps,nps[0]*len(nps))
4949
text=text.translate(table).replace(nps[0],"")
50-
returntext.lstrip()
50+
returntext.strip()
5151

5252

5353
classCommand:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp