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

Appearance settings

Commit 5ec08ce

Browse filesBrowse files
mhilsberkerpeksag
authored andcommitted
Remove double definition of IPPROTO_IPV6 (#100)
IPPROTO_IPV6 is already defined further above in the same way.
1 parent 6de2b78 commit 5ec08ce
Copy full SHA for 5ec08ce

File tree

1 file changed

+0
-3
lines changed
Filter options

1 file changed

+0
-3
lines changed

‎Modules/socketmodule.c

Copy file name to clipboardExpand all lines: Modules/socketmodule.c
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,9 +7238,6 @@ PyInit__socket(void)
72387238
#ifdef IPPROTO_TP
72397239
PyModule_AddIntMacro(m, IPPROTO_TP);
72407240
#endif
7241-
#ifdef IPPROTO_IPV6
7242-
PyModule_AddIntMacro(m, IPPROTO_IPV6);
7243-
#endif
72447241
#ifdef IPPROTO_ROUTING
72457242
PyModule_AddIntMacro(m, IPPROTO_ROUTING);
72467243
#endif

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.