Issue 11177: asyncore's create_socket() arguments can now be omitted.
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index a277bdd..aaa9e7c 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -287,7 +287,7 @@
             del map[fd]
         self._fileno = None
 
-    def create_socket(self, family, type):
+    def create_socket(self, family=socket.AF_INET, type=socket.SOCK_STREAM):
         self.family_and_type = family, type
         sock = socket.socket(family, type)
         sock.setblocking(0)