mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 00:08:32 +00:00 
			
		
		
		
	 5abd76a75d
			
		
	
	
		5abd76a75d
		
	
	
	
	
		
			
			Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """This is a sample module used for testing doctest.
 | |
| 
 | |
| This module is for testing how doctest handles a module with docstrings
 | |
| but no doctest examples.
 | |
| 
 | |
| """
 | |
| 
 | |
| 
 | |
| class Foo(object):
 | |
|     """A docstring with no doctest examples.
 | |
| 
 | |
|     """
 | |
| 
 | |
|     def __init__(self):
 | |
|         pass
 |