mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Add separator
This commit is contained in:
		
							parent
							
								
									aa1e140f03
								
							
						
					
					
						commit
						b59cdd4356
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -6,6 +6,7 @@
 | 
				
			||||||
# - os.name is either 'posix' or 'mac'
 | 
					# - os.name is either 'posix' or 'mac'
 | 
				
			||||||
# - os.curdir is a string representing the current directory ('.' or ':')
 | 
					# - os.curdir is a string representing the current directory ('.' or ':')
 | 
				
			||||||
# - os.pardir is a string representing the parent directory ('..' or '::')
 | 
					# - os.pardir is a string representing the parent directory ('..' or '::')
 | 
				
			||||||
 | 
					# - os.sep is the (or a most common) pathname separator ('/' or ':')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Programs that import and use 'os' stand a better chance of being
 | 
					# Programs that import and use 'os' stand a better chance of being
 | 
				
			||||||
# portable between different platforms.  Of course, they must then
 | 
					# portable between different platforms.  Of course, they must then
 | 
				
			||||||
| 
						 | 
					@ -20,6 +21,7 @@
 | 
				
			||||||
	name = 'posix'
 | 
						name = 'posix'
 | 
				
			||||||
	curdir = '.'
 | 
						curdir = '.'
 | 
				
			||||||
	pardir = '..'
 | 
						pardir = '..'
 | 
				
			||||||
 | 
						sep = '/'
 | 
				
			||||||
	import posixpath
 | 
						import posixpath
 | 
				
			||||||
	path = posixpath
 | 
						path = posixpath
 | 
				
			||||||
	del posixpath
 | 
						del posixpath
 | 
				
			||||||
| 
						 | 
					@ -28,6 +30,7 @@
 | 
				
			||||||
	name = 'mac'
 | 
						name = 'mac'
 | 
				
			||||||
	curdir = ':'
 | 
						curdir = ':'
 | 
				
			||||||
	pardir = '::'
 | 
						pardir = '::'
 | 
				
			||||||
 | 
						sep = ':'
 | 
				
			||||||
	import macpath
 | 
						import macpath
 | 
				
			||||||
	path = macpath
 | 
						path = macpath
 | 
				
			||||||
	del macpath
 | 
						del macpath
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue