mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix syntax: "rc != None" -> "rc is not None"
This commit is contained in:
		
							parent
							
								
									52584779a6
								
							
						
					
					
						commit
						cf741ceb69
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -349,7 +349,7 @@ class Popen(args, bufsize=0, executable=None, | |||
| pipe = os.popen("cmd", 'w') | ||||
| ... | ||||
| rc = pipe.close() | ||||
| if rc != None and rc % 256: | ||||
| if rc is not None and rc % 256: | ||||
|     print "There were some errors" | ||||
| ==> | ||||
| process = Popen("cmd", 'w', shell=True, stdin=PIPE) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Florent Xicluna
						Florent Xicluna