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

Commit445aff0

Browse files
committed
Remove unnecessary version check
1 parent105380a commit445aff0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎bpython/importcompletion.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@
4848
),
4949
)
5050

51-
_LOADED_INODE_DATACLASS_ARGS= {"frozen":True}
52-
ifsys.version_info[:2]>= (3,10):
53-
_LOADED_INODE_DATACLASS_ARGS["slots"]=True
5451

55-
56-
@dataclass(**_LOADED_INODE_DATACLASS_ARGS)
52+
@dataclass(frozen=True,slots=True)
5753
class_LoadedInode:
5854
dev:int
5955
inode:int

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp