Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed
diff --git a/Modules/main.c b/Modules/main.c
index 11ac97e..2f5dc57 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -519,10 +519,10 @@
 	}
 
 	if (module != NULL) {
-		/* Backup _PyOS_optind and force sys.argv[0] = '-c'
+		/* Backup _PyOS_optind and force sys.argv[0] = '-m'
 		   so that PySys_SetArgv correctly sets sys.path[0] to ''*/
 		_PyOS_optind--;
-		argv[_PyOS_optind] = "-c";
+		argv[_PyOS_optind] = "-m";
 	}
 
 	PySys_SetArgv(argc-_PyOS_optind, argv+_PyOS_optind);